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 8c99e6c commit 288c76bCopy full SHA for 288c76b
src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateStatus.svelte
@@ -23,6 +23,12 @@
23
.forProject(page.params.region, page.params.project)
24
.users.updateEmailVerification($user.$id, !$user.emailVerification);
25
await invalidate(Dependencies.USER);
26
+
27
+ if ($user.name) {
28
+ // name formatter
29
+ displayName = $user.name;
30
+ displayName = `${displayName}${displayName[displayName.length - 1].toLowerCase() === 's' ? "' email" : "'s email"}`;
31
+ }
32
addNotification({
33
message: `${$user.name || $user.email || $user.phone || 'The account'} has been ${
34
!$user.emailVerification ? 'unverified' : 'verified'
0 commit comments