Skip to content

Commit

Permalink
Fix hiddenFilters inserting empty array into join breaking other filters
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasfoo committed Jun 28, 2023
1 parent 6fd61bb commit 60a2182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/my-sites/themes/themes-selection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export const ConnectedThemesSelection = connect(
search,
page,
tier: premiumThemesEnabled ? tier : 'free',
filter: compact( [ filter, vertical, hiddenFilters ] ).join( ',' ),
filter: compact( [ filter, vertical ] ).concat( hiddenFilters ).join( ',' ),
number,
};

Expand Down

0 comments on commit 60a2182

Please sign in to comment.