From 6487c040537f734402f7b4330efb41a2c5eeff67 Mon Sep 17 00:00:00 2001 From: Alfie Fitch Date: Tue, 27 Dec 2022 22:58:21 +0000 Subject: [PATCH] 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. --- .../project-[project]/auth/user-[user]/updateStatus.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/console/project-[project]/auth/user-[user]/updateStatus.svelte b/src/routes/console/project-[project]/auth/user-[user]/updateStatus.svelte index 54f6df3a7..590807722 100644 --- a/src/routes/console/project-[project]/auth/user-[user]/updateStatus.svelte +++ b/src/routes/console/project-[project]/auth/user-[user]/updateStatus.svelte @@ -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' });