Skip to content

Commit

Permalink
Flip the no-categories condition for uncategorized
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Dec 18, 2023
1 parent 8e13fdc commit 2136982
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function PatternCategoryPreviews( {

// The uncategorized category should show all the patterns without any category
// or with no available category.
if ( pattern.categories ) {
if ( ! pattern.categories ) {
return true;
}

Expand Down

0 comments on commit 2136982

Please sign in to comment.