Feat: Import indicator

This commit is contained in:
Daniel Hougaard
2024-03-20 20:25:48 +01:00
parent 671adee4d7
commit 90be28b87a
4 changed files with 117 additions and 10 deletions
@@ -17,7 +17,7 @@ import {
} from "@app/context";
import { usePopUp } from "@app/hooks";
import {
useGetImportedSecrets,
useGetImportedSecretsSingleEnv,
useGetProjectFolders,
useGetProjectSecrets,
useGetSecretApprovalPolicyOfABoard,
@@ -124,7 +124,7 @@ export const SecretMainPage = () => {
});
// fetch imported secrets to show user the overriden ones
const { data: importedSecrets } = useGetImportedSecrets({
const { data: importedSecrets } = useGetImportedSecretsSingleEnv({
projectId: workspaceId,
environment,
decryptFileKey: decryptFileKey!,