Skip to content

Commit

Permalink
ui/node: Update the node list selection
Browse files Browse the repository at this point in the history
To make sure when switch the node we will still in Partition Tab

Refs: #2932
  • Loading branch information
ChengYanJin committed Jan 15, 2021
1 parent bc7d31d commit 1a9c8a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/components/NodeListTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ const NodeListTable = (props) => {
location.pathname.endsWith('metrics') ||
location.pathname.endsWith('volumes') ||
location.pathname.endsWith('pods') ||
location.pathname.endsWith('partitions') ||
location.pathname.endsWith('details');

if (isTabSelected) {
Expand Down

0 comments on commit 1a9c8a4

Please sign in to comment.