mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 18:15:53 +00:00
Add warning on secret deletions where it's being imported by another folder
This commit is contained in:
@@ -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} />}
|
||||
|
||||
Reference in New Issue
Block a user