From 827db237963f5fb3274873d0131d566ad449c8bd Mon Sep 17 00:00:00 2001 From: tinola Date: Sun, 15 Dec 2024 23:58:24 +0100 Subject: [PATCH] Update accounts.tsx I think this condition is correct :) There is discrepancy if "emailVerified" is NULL in database. Even if on User settings -> account page the email stays as verified, on Admin settings -> Users table the icon was not shown. If user confirm its e-mail address, the "emailVerified" column in database is updated, so "ok" image is displayed correctly in users table and in Account settings page as well. --- src/components/adminPage/users/table/accounts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/adminPage/users/table/accounts.tsx b/src/components/adminPage/users/table/accounts.tsx index 6b4915e9..b88646ed 100644 --- a/src/components/adminPage/users/table/accounts.tsx +++ b/src/components/adminPage/users/table/accounts.tsx @@ -74,7 +74,7 @@ export const Accounts = () => { return (
{email}
- {!mailIsVerified && ( + {mailIsVerified && (