mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Fix not using array push
This commit is contained in:
parent
f33c1e409d
commit
8afb1bcb3e
1 changed files with 1 additions and 3 deletions
|
|
@ -53,9 +53,7 @@ const categorySlug = getKindToCategorySlug( pathSlug )
|
||||||
if ( !!categorySlug ) {
|
if ( !!categorySlug ) {
|
||||||
const category = categories[ categorySlug ]
|
const category = categories[ categorySlug ]
|
||||||
|
|
||||||
const baseFilters = [
|
baseFilters.push( makeCategoryFilterFromCategorySlug( categorySlug ) )
|
||||||
makeCategoryFilterFromCategorySlug( categorySlug ),
|
|
||||||
]
|
|
||||||
|
|
||||||
pageLabel = category?.pluralLabel || category.label
|
pageLabel = category?.pluralLabel || category.label
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue