Skip to content

Commit e7eec6b

Browse files
fix: navigate to Node page storage if storage node
1 parent 61da0b0 commit e7eec6b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/components/NodeHostWrapper/NodeHostWrapper.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,13 @@ export const NodeHostWrapper = ({
5454
}
5555

5656
const nodePath = isNodeAvailable
57-
? getDefaultNodePath(node.NodeId, {
58-
database: database ?? node.TenantName,
59-
})
57+
? getDefaultNodePath(
58+
node.NodeId,
59+
{
60+
database: database ?? node.TenantName,
61+
},
62+
node.TenantName ? 'tablets' : 'storage',
63+
)
6064
: undefined;
6165

6266
return (

0 commit comments

Comments
 (0)