Skip to content

Commit 10ff951

Browse files
Merge pull request #1290 from devtron-labs/multiple-tab-issue
fix: Multiple tab opening from node details
2 parents 1271779 + 1fe6e31 commit 10ff951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ClusterNodes/NodeDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ export default function NodeDetails({
642642
const _url = `${URLS.RESOURCE_BROWSER}/${clusterId}/${namespace}/pod/${_group}/${name}${
643643
tab ? `/${tab.toLowerCase()}` : ''
644644
}`
645-
const isAdded = addTab(_group, 'pod', name, _url)
645+
const isAdded = addTab(`${_group}_${namespace}`, 'pod', name, _url)
646646
if (isAdded) {
647647
updateNodeSelectionData(_nodeSelectionData, _group)
648648
push(_url)

0 commit comments

Comments
 (0)