-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: fix 3rd click on sorting table column
Previously, when a user clicked the 3rd time on the same column, the page was crashing (Only happening on Statement and Transaction pages). This would happen because on those two pages we need to update when we switch tabs, and the value of sort being set to null was causing the componentDidUpdate being called constantly. Since we always have a sort happening on the table, this commit removes the 3rd option of blank selection. This commit also updates the Session tab to be properly updating the query params when the tab is switched. Fixes #74440 Release note (bug fix): Fix SQL Activity pages crashing when a column was sorted by the 3rd time.
- Loading branch information
Showing
2 changed files
with
35 additions
and
16 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