makerspace/makeradmin

Products categories without any visible items are shown

Closed this issue · 1 comments

Example

The subscriptions category has no visible items, but it is still showing in the left pane:

image

Expected behavior

If all of the items of a product category are hidden, then the category should be hidden as well. It's confusing if it's showing, especially since clicking the category takes the user to the top of the page.

Fixed in 51f5d92