Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix(ui): confirm alert removal by typing delete
Calvin94860a8f5356
diff --git a/frontend/src/views/Alerts/AlertAction.tsx b/frontend/src/views/Alerts/AlertAction.tsxindex 7b3730e206..20d8682f27 100644--- a/frontend/src/views/Alerts/AlertAction.tsx+++ b/frontend/src/views/Alerts/AlertAction.tsx@@ -276,17 +276,18 @@ export const AlertAction = ({/><AlertDialogopen={popUp.deleteAlert.isOpen}- confirmationValue={selectedAlert?.name}+ confirmationValue="delete"onOpenChange={(open) => handlePopUpToggle("deleteAlert", open)}><AlertDialogContent><AlertDialogHeader><AlertDialogTitle>Remove Alert?</AlertDialogTitle><AlertDialogDescription>- This permanently removes the alert and stops its notifications.+ This permanently removes "{selectedAlert?.name}" and stops its+ notifications.</AlertDialogDescription></AlertDialogHeader>- <AlertDialogConfirmationField inputProps={{ placeholder: selectedAlert?.name }} />+ <AlertDialogConfirmationField inputProps={{ placeholder: "delete" }} /><Alert variant="danger" appearance="borderless"><AlertDescription>Removing this alert cannot be undone.</AlertDescription></Alert>