mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 09:30:09 +00:00
Fix: Improved UI import indicators
This commit is contained in:
@@ -269,8 +269,8 @@ export const useGetImportedSecretsAllEnvs = ({
|
||||
|
||||
if (selectedEnvIndex !== -1) {
|
||||
const isPresent = secretImports?.[selectedEnvIndex]?.data?.find(
|
||||
({ secretPath, ...rest }) =>
|
||||
secretPath === secPath && rest.secrets.some((s) => s.key === secretName)
|
||||
({ secretPath, secrets }) =>
|
||||
secretPath === secPath && secrets.some((s) => s.key === secretName)
|
||||
);
|
||||
|
||||
return Boolean(isPresent);
|
||||
|
||||
Reference in New Issue
Block a user