-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Cannot rely of Object.values to return ordered properties
* Since pods are fetched from an Object hashed by their uids, it is not certain that the pods will be correctly sorted when the sort button is clicked. Need to explicitly sort them. * Discover.tsx * context.ts * Adds a podOrder state object to context so that the DiscoverToolbar can update it and have it used when groupPods() is called * DiscoverToolbar.tsx * Set the pod order before telling the mgmt service to sort * discover-project.ts * When refreshing have it take into account the pod order that has been requested
- Loading branch information
1 parent
ab5c1ab
commit aae104a
Showing
5 changed files
with
75 additions
and
15 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
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
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