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

Dashboard stops rendering when adding widget with empty query #2638

Merged
merged 1 commit into from
Jul 2, 2018
Merged

Dashboard stops rendering when adding widget with empty query #2638

merged 1 commit into from
Jul 2, 2018

Conversation

kravets-levko
Copy link
Collaborator

Issue #2534

When adding widget with empty query, dashboard tried to access query results. Empty query returns QueryResultsError instead of QueryResults, and the first one does not have some methods, for example toPromise. This PR fixes the issue by adding QueryResultsError.toPromise method which just returns rejected promise.

@arikfr
Copy link
Member

arikfr commented Jul 2, 2018

👍

@arikfr arikfr mentioned this pull request Jul 26, 2018
3 tasks
@kravets-levko kravets-levko deleted the bug/dashboard-not-rendering-empty-query branch February 11, 2019 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants