Merge pull request #834 from akhilmhdh/fix/copy-sec-not-populating

fix: secret path / with a new env causes secret list to be empty
This commit is contained in:
Maidul Islam
2023-08-08 13:18:41 -04:00
committed by GitHub
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
});