Skip to content

Commit

Permalink
fix: UI Error caused by missing RBAC Permission (#10955)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Co-authored-by: pasha-codefresh <pavel@codefresh.io>
  • Loading branch information
alexmt and pasha-codefresh committed Apr 18, 2024
1 parent 1e35e68 commit b8b4b51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const ResourceDetails = (props: ResourceDetailsProps) => {
}
]);
}
if (selectedNode.kind === 'Pod' && execEnabled && execAllowed) {
if (selectedNode?.kind === 'Pod' && execEnabled && execAllowed) {
tabs = tabs.concat([
{
key: 'exec',
Expand Down

0 comments on commit b8b4b51

Please sign in to comment.