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.
This commit is contained in:
Alfie Fitch authored and GitHub committed 2022-12-27 22:58:21 +00:00
1 parent 5e2a40c1e3
commit 6487c04053
1 file changed
+1 -1
@@ -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'
});