fix: secret path / with a new env causes secret list to be empty

This commit is contained in:
Akhil Mohan
2023-08-08 12:18:21 +05:30
parent ec21e35f8c
commit 97a0728f02
2 changed files with 10 additions and 2 deletions
@@ -115,7 +115,9 @@ export const SecretDropzone = ({
workspaceId,
env: selectedEnvSlug,
secretPath: debouncedSecretPath,
isPaused: !(Boolean(workspaceId) && Boolean(selectedEnvSlug) && Boolean(debouncedSecretPath)),
isPaused:
!(Boolean(workspaceId) && Boolean(selectedEnvSlug) && Boolean(debouncedSecretPath)) &&
!popUp.importSecEnv.isOpen,
decryptFileKey
});