Files
accounted/components/ui
Jakob Wennberg f91536c86c fix(ui): migrate remaining native confirm() calls to DestructiveConfirmDialog (#1046)
Migrates the three remaining bare confirm() sites from issue #1038 to the
imperative useDestructiveConfirm() pattern already mounted on both pages:
resume-autosend and run-now on the recurring-invoices page, and unapprove
on the salary-run page (its dynamically assembled multi-line copy now
renders as paragraphs via whitespace-pre-line on DialogDescription).

Also adds a togglingId in-flight guard to togglePause, mirroring the
deletingId/runningId guards from PR #1036, so the pause/resume button
cannot fire a duplicate PATCH while one is pending.

Fixes #1038

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 11:51:00 +02:00
..
2026-02-13 14:00:46 +01:00
2026-06-05 17:26:40 +02:00
2026-02-13 14:00:46 +01:00
2026-02-13 14:00:46 +01:00
2026-02-13 14:00:46 +01:00
2026-05-22 12:22:15 +02:00
2026-02-13 14:00:46 +01:00
2026-02-13 14:00:46 +01:00
2026-02-13 14:00:46 +01:00
2026-02-13 14:00:46 +01:00