From be88a192195cf540abce69305c4ae86a22ae3698 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 28 Oct 2024 12:30:55 +0300 Subject: [PATCH] Updated Community Units Approve/Reject Updates and Approve/Reject CU visibility --- pages/community-units/[id].js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/community-units/[id].js b/pages/community-units/[id].js index bcff285..c936e63 100644 --- a/pages/community-units/[id].js +++ b/pages/community-units/[id].js @@ -193,7 +193,7 @@ function EditCommunityUnit(props){ groupID == 11 || groupID == 1) && ( - props?.cu?.is_approved == null || + (props?.cu?.is_approved === null || props?.cu?.is_approved === false) || props?.cu?.has_edits ) &&