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 Sep 9, 2022
1 parent ebf1d72 commit ed9cddb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,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 ed9cddb

Please sign in to comment.