Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update frontend/src/pages/secret-manager/SettingsPage/components/SecretSharingSection/SecretSharingSection.tsx

x032205ad50cff18486
diff --git a/frontend/src/pages/secret-manager/SettingsPage/components/SecretSharingSection/SecretSharingSection.tsx b/frontend/src/pages/secret-manager/SettingsPage/components/SecretSharingSection/SecretSharingSection.tsx
index 84053eed95..3daa7dad2e 100644
--- a/frontend/src/pages/secret-manager/SettingsPage/components/SecretSharingSection/SecretSharingSection.tsx
+++ b/frontend/src/pages/secret-manager/SettingsPage/components/SecretSharingSection/SecretSharingSection.tsx
@@ -15,7 +15,10 @@ export const SecretSharingSection = () => {
setIsLoading(true);
try {
- if (!currentWorkspace?.id) return;
+ if (!currentWorkspace?.id) {
+ setIsLoading(false);
+ return;
+ }
await updateProject({
projectID: currentWorkspace.id,