fix: handle rejected documents correctly with info alert and auto-reload

This commit is contained in:
2025-11-14 14:20:34 +01:00
parent 8a488d4e71
commit e364f1f592
2 changed files with 10 additions and 2 deletions

View File

@@ -264,7 +264,15 @@ class App {
return false
}
else if (res.status === 423) {
location.reload();
Swal.fire({
title: 'Info',
text: 'Dokument wurde von einem Empfänger abgelehnt. Sie werden weitergeleitet...',
icon: 'info',
timer: 2000,
showConfirmButton: false
}).then(() => {
location.reload();
});
}
else {
throw new Error()