From 971987c786a7b267c53dd7b8900dafeb02dd1a05 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Thu, 26 Sep 2024 09:32:15 -0700 Subject: [PATCH] fix: display all envs in secrets overview header --- frontend/src/views/SecretMainPage/SecretMainPage.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/frontend/src/views/SecretMainPage/SecretMainPage.tsx b/frontend/src/views/SecretMainPage/SecretMainPage.tsx index d68a66a6b..20dd42ab9 100644 --- a/frontend/src/views/SecretMainPage/SecretMainPage.tsx +++ b/frontend/src/views/SecretMainPage/SecretMainPage.tsx @@ -267,15 +267,7 @@ export const SecretMainPage = () => { - permission.can( - ProjectPermissionActions.Read, - subject(ProjectPermissionSub.Secrets, { - environment: slug, - secretPath - }) - ) - )} + userAvailableEnvs={currentWorkspace?.environments} isFolderMode secretPath={secretPath} isProjectRelated