mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Correction of user Blocked/Unblocked
Noticed that the notification said that the user was blocked when unblocking and unblocked when blocking. Changed this around to show the correct message.
This commit is contained in:
1 parent
5e2a40c1e3
commit
6487c04053
1 file changed
+1
-1
@@ -56,7 +56,7 @@
|
||||
invalidate(Dependencies.USER);
|
||||
addNotification({
|
||||
message: `${$user.name || $user.email || $user.phone || 'The account'} has been ${
|
||||
$user.status ? 'blocked' : 'unblocked'
|
||||
$user.status ? 'unblocked' : 'blocked'
|
||||
}`,
|
||||
type: 'success'
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user