Skip to content

Commit

Permalink
fix: hide terminal on the non-pod resource kind (#9980) (#10556)
Browse files Browse the repository at this point in the history
Signed-off-by: ashutosh16 <[email protected]>

Signed-off-by: ashutosh16 <[email protected]>
  • Loading branch information
ashutosh16 authored and crenshaw-dev committed Sep 9, 2022
1 parent e8d2d3a commit 2ca18ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const ResourceDetails = (props: ResourceDetailsProps) => {
}
]);
}
if (execEnabled && execAllowed) {
if (selectedNode.kind === 'Pod' && execEnabled && execAllowed) {
tabs = tabs.concat([
{
key: 'exec',
Expand Down

0 comments on commit 2ca18ab

Please sign in to comment.