From b7b6ca7b44ff598139af0638a4e77626580bcf6a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 15 Dec 2021 15:16:26 -0500 Subject: [PATCH] Hide deny / approve buttons --- .../common/registration-application.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/shared/components/common/registration-application.tsx b/src/shared/components/common/registration-application.tsx index 8b3951c9..cad47b83 100644 --- a/src/shared/components/common/registration-application.tsx +++ b/src/shared/components/common/registration-application.tsx @@ -91,14 +91,16 @@ export class RegistrationApplication extends Component< )} - - {!this.props.application.registration_application.deny_reason && ( + {(!ra.admin_id || (ra.admin_id && !accepted)) && ( + + )} + {(!ra.admin_id || (ra.admin_id && accepted)) && (