Skip to content

Commit 116277d

Browse files
committed
prevent false featured snaps indicators
1 parent 593c63d commit 116277d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

static/js/store/components/PackageList/PackageList.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ function PackageList({
3737
// Treat as featured when the user is explicitly on the featured category,
3838
// or on the default store view (no categories, no search/filters).
3939
const isFeatured =
40-
(selectedCategories.length === 1 &&
41-
selectedCategories[0] === "featured") ||
40+
(selectedCategories.length === 1 && selectedCategories[0] === "featured") ||
4241
(selectedCategories.length === 0 &&
4342
Array.from(searchParams.keys()).every((key) =>
4443
["page", "categories"].includes(key),

0 commit comments

Comments
 (0)