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(browse): fix browse double click issue #4382

Merged

Conversation

gabe-lyons
Copy link
Contributor

After parameters change, apollo useQuery hook still returns the old data. This allowed someone to browse to a path that didn't exist (e.g. prod/prod) by clicking the tile in rapid succession. PR adds a clause to not show results while loading so the previous data is hidden.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

@github-actions
Copy link

Unit Test Results (build & test)

  76 files  ±0    76 suites  ±0   10m 46s ⏱️ - 6m 45s
629 tests ±0  570 ✔️ ±0  59 💤 ±0  0 ±0 

Results for commit 4cf8354. ± Comparison against base commit 0e4a26b.

@shirshanka shirshanka merged commit 7eb0017 into datahub-project:master Mar 11, 2022
maggiehays pushed a commit to maggiehays/datahub that referenced this pull request Aug 1, 2022
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