-
Notifications
You must be signed in to change notification settings - Fork 81
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 EmptyStateFilter not appearing in Namespace detail when filtering by repo/tags/sign state #3597
Conversation
… by repo Issue: AAH-2304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Not related to this PR, but adding more than one tag breaks with
|
fixes being unable to add more tags to filter when filtering by 1 tag (it works when 0 tags, falling back to []; works when 2+ tags because it is automatically an array; but fails to add/remove tags when only one is selected)
Ah, when 0 or 2+ tags, they get treated as an array of tags, Wrapping in an array :) |
Backport to stable-4.7: 💚 backport PR created✅ Backport PR branch: Backported as #3604 🤖 @patchback |
… by repo/tags/sign state (#3597) * Fix EmptyStateFilter not appearing in Namespace detail when filtering by repo Issue: AAH-2304 * compoundFilter: one tag is a string, not an array - convert to array fixes being unable to add more tags to filter when filtering by 1 tag (it works when 0 tags, falling back to []; works when 2+ tags because it is automatically an array; but fails to add/remove tags when only one is selected) (cherry picked from commit 1a08a6b)
… by repo/tags/sign state (#3597) (#3604) * Fix EmptyStateFilter not appearing in Namespace detail when filtering by repo Issue: AAH-2304 * compoundFilter: one tag is a string, not an array - convert to array fixes being unable to add more tags to filter when filtering by 1 tag (it works when 0 tags, falling back to []; works when 2+ tags because it is automatically an array; but fails to add/remove tags when only one is selected) (cherry picked from commit 1a08a6b) Co-authored-by: Martin Hradil <mhradil@redhat.com>
Issue: AAH-2304
Previously
EmptyStateFilter
would only render when no data and filtering by keywords, adding the rest ofCollectionFilter
params.