Merge remote-tracking branch 'upstream/main' into feat/windmill-integration

This commit is contained in:
Sunil Kumar
2023-07-20 19:20:38 +05:30
17 changed files with 563 additions and 192 deletions
@@ -38,6 +38,11 @@ export const getAllImportedSecrets = async (
folderId: secPathFolder.id,
secretPath: el.secretPath
});
} else {
if (el.secretPath === "/") {
// this happens when importing with a fresh env without any folders
importedSecByFid.push({ environment: el.environment, folderId: "root", secretPath: "/" });
}
}
});
if (importedSecByFid.length === 0) return [];