forked from getsentry/sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dashboards): team rendering for Edit Access selector (getsentry#8…
…1059) Problem: The `useTeamsById()` hook only renders teams from the `TeamStore` which causes the dashboard to error out when the Edit Access selector uses an unavailable team. Fix: - Query the selected team by `teamId` to ensure it isn't undefined - This PR also fixes the Search functionality by being able to search for any team irrespective of `TeamStore` --------- Co-authored-by: harshithadurai <[email protected]>
- Loading branch information
1 parent
5b42c1e
commit ebae966
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters