Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom categories not showing up when using the categories prop #961

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mahmed2000
Copy link

Fixes #951 and #959.

052badf added a new array to store the categories on first mount to filter on. Since the custom categories never pushed to it, they would never show up if the categories prop was used.

This just creates another array to store the custom categories, and makes the category prop filter on the combined original and custom categories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] categories order including custom category working in v5.2.2 but not in v5.6.0
1 participant