Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix: reset delete confirmation input when dialog closes (#2529)
Maxe9898dcfb7f1
diff --git a/apps/dashboard/src/components/dropdowns/quick-actions.tsx b/apps/dashboard/src/components/dropdowns/quick-actions.tsxindex f1dc26b14..74da943b4 100644--- a/apps/dashboard/src/components/dropdowns/quick-actions.tsx+++ b/apps/dashboard/src/components/dropdowns/quick-actions.tsx@@ -89,8 +89,14 @@ export function QuickActions({});};+ const handleOpenChange = (newOpen: boolean) => {+ setOpen(newOpen);+ // Reset the input value when dialog state changes+ setValue("");+ };+return (- <AlertDialog open={open} onOpenChange={setOpen}>+ <AlertDialog open={open} onOpenChange={handleOpenChange}><DropdownMenu><DropdownMenuTrigger asChild>{children ?? (