feat(secrets-ui): improve warning message and logic for secret-sync on secret imports

This commit is contained in:
carlosmonastyrski
2025-04-29 10:15:53 -03:00
parent 4e4b1b689b
commit e959ed7fab
15 changed files with 71 additions and 36 deletions
@@ -878,7 +878,7 @@ export const secretImportServiceFactory = ({
.map((otherSecret) => ({
secretId: secret.secretKey,
referencedSecretKey: otherSecret.secretKey,
referencedSecretId: otherSecret.id
referencedSecretEnv: environment
}));
}) || [];
if (locallyReferenced.length > 0) {