From 02e124b97e233f39e1b860075eb6615269e2fbe3 Mon Sep 17 00:00:00 2001 From: Dev Catalin <20538711+devcatalin@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:38:08 +0300 Subject: [PATCH] fix: dry run title bar label --- src/redux/selectors/dryRunsSelectors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redux/selectors/dryRunsSelectors.ts b/src/redux/selectors/dryRunsSelectors.ts index dccf3721d..7771c0e00 100644 --- a/src/redux/selectors/dryRunsSelectors.ts +++ b/src/redux/selectors/dryRunsSelectors.ts @@ -168,7 +168,7 @@ export const dryRunLabelSelector = createSelector( if (preview.type === 'kustomize') { const resource = localResourceMetaMap[preview.kustomizationId]; - return resource?.name; + return basename(resource.name); } if (preview.type === 'helm') {