Skip to content

Commit 3248a8e

Browse files
committed
Merge branch 'main' into feat-image-digest-enterprise
2 parents c574da8 + 039f8f3 commit 3248a8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetailTabs/Terminal.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { OptionType } from '../../../../../app/types'
1414
import {AppType, TerminalComponentProps, Options} from '../../../appDetails.type'
1515
import './nodeDetailTab.scss'
1616
import TerminalWrapper from './terminal/TerminalWrapper.component'
17-
import {TerminalSelectionListDataType} from './terminal/terminal.type'
17+
import { TerminalSelectionListDataType } from './terminal/terminal.type'
1818
import {get, showError, stopPropagation} from '@devtron-labs/devtron-fe-common-lib'
1919
import {SocketConnectionType} from '../../../../../ClusterNodes/constants'
2020
import {TerminalWrapperType} from './terminal/constants'
@@ -212,7 +212,7 @@ function TerminalComponent({
212212
} else if (selectedContainerName) {
213213
setSocketConnection(SocketConnectionType.CONNECTING)
214214
}
215-
}, [selectedTerminalType, selectedContainerName])
215+
}, [selectedTerminalType, selectedContainerName, params.podName, params.node, params.namespace])
216216

217217
useEffect(() => {
218218
if (socketConnection === SocketConnectionType.CONNECTING) {

0 commit comments

Comments
 (0)