We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 288c76b commit f2c57a3Copy full SHA for f2c57a3
src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateStatus.svelte
@@ -52,6 +52,12 @@
52
.forProject(page.params.region, page.params.project)
53
.users.updatePhoneVerification($user.$id, !$user.phoneVerification);
54
await invalidate(Dependencies.USER);
55
+
56
+ if ($user.name || $user.email) {
57
+ // name email formatter
58
+ displayName = $user[$user.name ? 'name' : 'email'];
59
+ displayName = `${displayName}${displayName[displayName.length - 1].toLowerCase() === 's' ? "' phone" : "'s phone"}`;
60
+ }
61
addNotification({
62
message: `${$user.name || $user.email || $user.phone || 'The account'} has been ${
63
!$user.phoneVerification ? 'unverified' : 'verified'
0 commit comments