refactor: replace native confirm() dialogs with shared ConfirmService modal #228

Merged
marcel merged 15 commits from feat/issue-207-confirm-modal-service into main 2026-04-12 14:42:20 +02:00
Showing only changes of commit a2d078b8f9 - Show all commits

View File

@@ -43,9 +43,9 @@ async function handleDelete(id: string) {
body: m.person_alias_delete_body(),
destructive: true
});
if (confirmed) {
if (confirmed && removeFormEl) {
if (aliasIdInputEl) aliasIdInputEl.value = id;
removeFormEl!.requestSubmit();
removeFormEl.requestSubmit();
}
}
</script>