mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Fix app kind not rendering
This commit is contained in:
parent
45709aed10
commit
5d92a4d951
1 changed files with 14 additions and 5 deletions
|
|
@ -44,15 +44,24 @@ const kindPage = {
|
||||||
}) )
|
}) )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let pageLabel = 'Mac Apps'
|
||||||
|
const baseFilters = []
|
||||||
|
|
||||||
const categorySlug = getKindToCategorySlug( pathSlug )
|
const categorySlug = getKindToCategorySlug( pathSlug )
|
||||||
|
|
||||||
const category = categories[ categorySlug ]
|
// If we have a category slug, add a filter
|
||||||
|
if ( !!categorySlug ) {
|
||||||
|
const category = categories[ categorySlug ]
|
||||||
|
|
||||||
const baseFilters = [
|
console.log( 'pathSlug', pathSlug )
|
||||||
makeCategoryFilterFromCategorySlug( categorySlug ),
|
console.log( 'category', category )
|
||||||
]
|
|
||||||
|
|
||||||
const pageLabel = category?.pluralLabel || category.label
|
const baseFilters = [
|
||||||
|
makeCategoryFilterFromCategorySlug( categorySlug ),
|
||||||
|
]
|
||||||
|
|
||||||
|
pageLabel = category?.pluralLabel || category.label
|
||||||
|
}
|
||||||
|
|
||||||
---
|
---
|
||||||
<Layout
|
<Layout
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue