diff --git a/ui/src/app/applications/components/utils.tsx b/ui/src/app/applications/components/utils.tsx index 95cd28c3452944..f11ca2a9163070 100644 --- a/ui/src/app/applications/components/utils.tsx +++ b/ui/src/app/applications/components/utils.tsx @@ -474,7 +474,7 @@ function getActionItems( .settings() .then(async settings => { const execAllowed = settings.execEnabled && (await services.accounts.canI('exec', 'create', application.spec.project + '/' + application.metadata.name)); - if (resource.kind === 'Pod' && settings.execEnabled && execAllowed) { + if (resource.kind === 'Pod' && execAllowed) { return [ { title: 'Exec',