mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Rename sections to categories
This commit is contained in:
parent
e578118bab
commit
fd63c02e2a
8 changed files with 56 additions and 58 deletions
|
|
@ -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]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue