Skip to content

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

Fix success notification message on reminder updates

carlosmonastyrski17a46748216f
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretListView.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretListView.tsx
index 72367aba89..acfb44f306 100644
--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretListView.tsx
+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretListView.tsx
@@ -238,12 +238,13 @@ export const SecretListView = ({
if (!isReminderEvent) {
handlePopUpClose("secretDetail");
}
+ const successMessage = isReminderEvent ? "secret reminder" : "secrets";
createNotification({
type: isProtectedBranch && !personalAction ? "info" : "success",
text:
isProtectedBranch && !personalAction
? "Requested changes have been sent for review"
- : "Successfully saved secrets"
+ : `Successfully saved ${successMessage}`
});
} catch (error) {
console.log(error);