Added error toast

ref #21
This commit is contained in:
Nicolai Ort 2021-04-01 19:37:21 +02:00
parent 7440fc404e
commit 9751c2e9fd

View File

@ -295,7 +295,7 @@ function delete_me() {
location.replace(`${config.baseurl_selfservice}`); location.replace(`${config.baseurl_selfservice}`);
}) })
.catch((error) => { .catch((error) => {
console.log(error); toast.error("An error occured while deleting your profile data");
}); });
} }
</script> </script>