mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix success notification message on reminder updates
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user