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 bug when loading Metrics graph #4165

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Fix bug when loading Metrics graph #4165

merged 1 commit into from
Nov 28, 2023

Conversation

yomete
Copy link
Contributor

@yomete yomete commented Nov 28, 2023

Fixes a bug where the ProfileSelector component is trying to set the query expression before it has been successfully fetched from the URL. Adding an early return to the useEffect, and adding queryExpression to the dependency array fixes this.

Fixes a bug where the ProfileSelector component is trying to set the query expression before it has been successfully fetched from the URL. Adding an early return to the useEffect, and adding `queryExpression` to the dependency array fixes this.
Copy link

alwaysmeticulous bot commented Nov 28, 2023

🤖 Meticulous spotted visual differences in 89 of 395 screens tested: view and approve differences detected.

Last updated for commit c5aebd9. This comment will update as new commits are pushed.

Copy link
Contributor

@monicawoj monicawoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice debugging! 💪

@yomete yomete merged commit 0f8108e into main Nov 28, 2023
37 of 38 checks passed
@yomete yomete deleted the metrics-graph-hotfix branch November 28, 2023 19:47
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.

2 participants