feat: improve toasts
All checks were successful
Build Latest and dev images / build-container (push) Successful in 1m0s
All checks were successful
Build Latest and dev images / build-container (push) Successful in 1m0s
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
...options,
|
||||
data: current_donations,
|
||||
}));
|
||||
toast($_("donation-deleted"));
|
||||
toast.success($_("donation-deleted"));
|
||||
}
|
||||
|
||||
onMount(async () => {
|
||||
|
||||
Reference in New Issue
Block a user