Rename sections to categories

This commit is contained in:
Sam Carlton 2020-11-28 15:16:56 -06:00
parent e578118bab
commit fd63c02e2a
8 changed files with 56 additions and 58 deletions

View file

@ -86,5 +86,8 @@ export const categories = {
export function getAppCategory (app) {
return categories[app.section.slug]
if (typeof app.category === 'undefined') {
console.log('app', app)
}
return categories[app.category.slug]
}