feat: cleanup random page toasts

This commit is contained in:
Philipp Dormann 2024-11-21 16:56:10 +01:00
parent 84aa846b87
commit ad4db882f0
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
3 changed files with 0 additions and 8 deletions

View File

@ -20,7 +20,6 @@
OpenAPI.TOKEN = value.access_token;
const jwtinfo = JSON.parse(atob(OpenAPI.TOKEN.split(".")[1]));
store.login(value, jwtinfo);
toast($_("welcome_wavinghand"));
}
}
});
@ -50,7 +49,6 @@
store.login(result.access_token, jwtinfo);
location.replace("/");
toast.dismiss();
toast($_("welcome_wavinghand"));
})
.catch((err) => {
toast.dismiss();

View File

@ -151,7 +151,6 @@
}
onMount(async () => {
toast.loading($_("loading-cards"));
let page = 0;
let pagesize = 500;
while (page >= 0) {
@ -172,8 +171,6 @@
dataLoaded = true;
page++;
}
toast.dismiss();
toast.success($_("all-cards-loaded"));
});
</script>

View File

@ -100,7 +100,6 @@
}
onMount(async () => {
toast.loading($_("loading-donors"));
donors = (await DonorService.donorControllerGetAll()).map(
(r) => {
return { label: getDonorLabel(r), value: r };
@ -111,8 +110,6 @@
return { label: getDonorLabel(r), value: r };
}
);
toast.dismiss();
toast.success($_("all-donors-loaded"));
});
</script>