Add warning on secret deletions where it's being imported by another folder

This commit is contained in:
carlosmonastyrski
2025-04-02 18:58:34 -03:00
parent 13485cecbb
commit 4420985669
6 changed files with 132 additions and 7 deletions
@@ -206,7 +206,8 @@ const Page = () => {
totalFolderCount = 0,
totalDynamicSecretCount = 0,
totalSecretCount = 0,
totalCount = 0
totalCount = 0,
importedBy
} = data ?? {};
useResetPageHelper({
@@ -507,6 +508,7 @@ const Page = () => {
workspaceId={workspaceId}
secretPath={secretPath}
isProtectedBranch={isProtectedBranch}
importedBy={importedBy}
/>
)}
{canReadSecret && <SecretNoAccessListView count={noAccessSecretCount} />}