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

ignore no charts error when filtering #533

Merged

Conversation

prydonius
Copy link
Contributor

Previously, we would display the No Charts Found error alert if the
filtered chart array came back empty. However, this error only makes
sense to show when the charts from the server come back empty. This
patch fixes this to only show the error if there are no charts from
the server.

We may want to improve the way we show this message (for example, under
the Charts header), and we may also want to show a different alert if
the filter shows up empty in the future.

fixes #531

Previously, we would display the No Charts Found error alert if the
filtered chart array came back empty. However, this error only makes
sense to show when the charts from the server come back empty. This
patch fixes this to only show the error if there are no charts from
the server.

We may want to improve the way we show this message (for example, under
the Charts header), and we may also want to show a different alert if
the filter shows up empty in the future.
@migmartri migmartri self-requested a review August 23, 2018 23:45
@prydonius prydonius merged commit e0f6191 into vmware-tanzu:master Aug 23, 2018
@prydonius prydonius deleted the 531-fix-chart-search-regression branch August 23, 2018 23:56
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.

Search charts makes input disappear if no results
2 participants