From c1d62893d9335a613a15ec0572154c98daa7959a Mon Sep 17 00:00:00 2001 From: aviupadhyayula Date: Wed, 6 Nov 2024 00:31:10 -0500 Subject: [PATCH] Set ghost to false on club approval decision --- frontend/components/ClubPage/ClubApprovalDialog.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/components/ClubPage/ClubApprovalDialog.tsx b/frontend/components/ClubPage/ClubApprovalDialog.tsx index faa479759..47d59aae5 100644 --- a/frontend/components/ClubPage/ClubApprovalDialog.tsx +++ b/frontend/components/ClubPage/ClubApprovalDialog.tsx @@ -265,6 +265,7 @@ const ClubApprovalDialog = ({ club }: Props): ReactElement | null => { body: { approved: true, approved_comment: comment, + ghost: false, }, }) .then(() => router.reload()) @@ -283,6 +284,7 @@ const ClubApprovalDialog = ({ club }: Props): ReactElement | null => { body: { approved: false, approved_comment: comment, + ghost: false, }, }) .then(() => router.reload())