From 8afb1bcb3e47cb95e779a409189c279cad5dabfd Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 7 Jun 2022 15:08:28 -0500 Subject: [PATCH] Fix not using array push --- src/pages/kind/[...kindPath].astro | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/kind/[...kindPath].astro b/src/pages/kind/[...kindPath].astro index 1156457..08f6eb2 100644 --- a/src/pages/kind/[...kindPath].astro +++ b/src/pages/kind/[...kindPath].astro @@ -53,9 +53,7 @@ const categorySlug = getKindToCategorySlug( pathSlug ) if ( !!categorySlug ) { const category = categories[ categorySlug ] - const baseFilters = [ - makeCategoryFilterFromCategorySlug( categorySlug ), - ] + baseFilters.push( makeCategoryFilterFromCategorySlug( categorySlug ) ) pageLabel = category?.pluralLabel || category.label }