Skip to content

Commit

Permalink
Merge pull request #525 from ertush/hotfix
Browse files Browse the repository at this point in the history
Updated Community Units Approve/Reject Updates and Approve/Reject CU …
  • Loading branch information
ertush authored Oct 28, 2024
2 parents f024920 + be88a19 commit bda3df8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/community-units/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -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
) &&
<button
Expand All @@ -205,7 +205,7 @@ function EditCommunityUnit(props){
>
{/* Dynamic Button Rendering */}
{
props?.cu?.is_approved == null && props?.cu?.has_edits == false &&
(props?.cu?.is_approved === null || props?.cu?.is_approved === false) && props?.cu?.has_edits == false &&
"Approve Or Reject CHU"
}
{
Expand Down

0 comments on commit bda3df8

Please sign in to comment.