From c246ae394411aae0e777cc0e7465a04a3645a30a Mon Sep 17 00:00:00 2001 From: rhahao <26148770+rhahao@users.noreply.github.com> Date: Sun, 1 Dec 2024 08:15:05 +0300 Subject: [PATCH] chore(app): manage access users update --- .../congregation/app_access/user_details/user_rights/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/congregation/app_access/user_details/user_rights/index.tsx b/src/features/congregation/app_access/user_details/user_rights/index.tsx index 23bb5f0886..38a549ba73 100644 --- a/src/features/congregation/app_access/user_details/user_rights/index.tsx +++ b/src/features/congregation/app_access/user_details/user_rights/index.tsx @@ -43,7 +43,7 @@ const UserRights = () => { className="body-regular" color="var(--grey-400)" content={ - user.profile.cong_role.includes('publisher') + user.profile.cong_role?.includes('publisher') ? t('tr_publisherStatusDefault') : t('tr_midweekStudentStatusDefault') }