From d2530533c7d35eda8fcb275e7cbab0527c130e87 Mon Sep 17 00:00:00 2001 From: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> Date: Wed, 15 Nov 2023 09:46:01 -0800 Subject: [PATCH] bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> --- ui/src/app/applications/components/utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/applications/components/utils.tsx b/ui/src/app/applications/components/utils.tsx index 95cd28c345294..f11ca2a916307 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',