Marcel 5b15991cf3
Some checks failed
CI / OCR Service Tests (push) Successful in 30s
CI / Backend Unit Tests (push) Failing after 1m22s
CI / Unit & Component Tests (pull_request) Failing after 2m28s
CI / OCR Service Tests (pull_request) Successful in 30s
CI / Unit & Component Tests (push) Failing after 2m26s
CI / Backend Unit Tests (pull_request) Failing after 1m23s
fix(admin): wire delete-user button via enhance callback instead of requestSubmit()
The delete button used type=button + requestSubmit() to trigger the form,
which did not reliably fire SvelteKit's enhance submit listener. Replaced
with a type=submit button and an async enhance callback that guards with
the confirm dialog and calls cancel() on rejection.

Also clears the unsaved-changes dirty flag before the redirect so
beforeNavigate doesn't silently block the post-delete navigation.

Closes #277

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 18:07:06 +02:00
Description
No description provided
44 MiB
Languages
Python 73.1%
TypeScript 11.5%
Java 10.9%
Svelte 4.2%
Shell 0.1%