mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: notification type is success when operation successful
This commit is contained in:
1 parent
5f826600d7
commit
89a3f6bcfe
1 file changed
+2
-2
@@ -48,7 +48,7 @@
|
||||
message: `The account has been ${
|
||||
$user.emailVerification ? 'verified' : 'unverified'
|
||||
}`,
|
||||
type: $user.emailVerification ? 'success' : 'info'
|
||||
type: 'success'
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
@@ -63,7 +63,7 @@
|
||||
$user.status = !$user.status;
|
||||
addNotification({
|
||||
message: `The account has been ${$user.status ? 'unblocked' : 'blocked'}`,
|
||||
type: `${$user.status ? 'success' : 'error'}`
|
||||
type: 'success'
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
|
||||
Reference in new issue
Block a user