mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: add notification when user deleted
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user