mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: correct phone verification success notification
After invalidate, the store holds the new phoneVerification value. Match the email path so the toast reports verified/unverified correctly. Fixes #1392 Co-authored-by: chiragaggarwal5k <chiragaggarwal5k@gmail.com>
This commit is contained in:
1 parent
55792bc61b
commit
a5e15a0ea4
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@
|
||||
await invalidate(Dependencies.USER);
|
||||
addNotification({
|
||||
message: `${$user.name || $user.email || $user.phone || 'The account'} has been ${
|
||||
$user.phoneVerification ? 'unverified' : 'verified'
|
||||
!$user.phoneVerification ? 'unverified' : 'verified'
|
||||
}`,
|
||||
type: 'success'
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user