feat: add notification when user deleted

This commit is contained in:
Arman
2022-07-28 13:05:41 +02:00
parent c9aa76b6a6
commit 359cba609f
@@ -15,6 +15,10 @@
try {
await sdkForProject.users.delete($user.$id);
showDelete = false;
addNotification({
type: 'success',
message: `${$user.name} has been deleted`
});
await goto(`${base}/console/${$page.params.project}/users`);
} catch (error) {
addNotification({