feat: cleanup random page toasts
This commit is contained in:
parent
84aa846b87
commit
ad4db882f0
@ -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();
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user