feat: improve toasts
All checks were successful
Build Latest and dev images / build-container (push) Successful in 1m0s

This commit is contained in:
2025-03-28 11:44:10 +01:00
parent e7a69ebdca
commit 481f6b686e
23 changed files with 25 additions and 25 deletions

View File

@@ -106,7 +106,7 @@
function deleteDonation() {
DonationService.donationControllerRemove(original_data.id, false)
.then((resp) => {
toast($_("donation-deleted"));
toast.success($_("donation-deleted"));
location.replace("./");
})
.catch((err) => {

View File

@@ -163,7 +163,7 @@
...options,
data: current_donations,
}));
toast($_("donation-deleted"));
toast.success($_("donation-deleted"));
}
onMount(async () => {