From: Dessalines Date: Sat, 30 Jul 2022 03:37:48 +0000 (-0400) Subject: Fix missing deny button. Fixes #723 (#728) X-Git-Url: http://these/git/%22https:/lemmy.ml/u/Liwott/%22?a=commitdiff_plain;h=5b682271ad90aeacd8cb95ff6998222fe99f4719;p=lemmy-ui.git Fix missing deny button. Fixes #723 (#728) --- diff --git a/src/shared/components/common/registration-application.tsx b/src/shared/components/common/registration-application.tsx index 36875b8..f3c2cf5 100644 --- a/src/shared/components/common/registration-application.tsx +++ b/src/shared/components/common/registration-application.tsx @@ -104,7 +104,7 @@ export class RegistrationApplication extends Component< )} - {(!ra.admin_id || (ra.admin_id && !accepted)) && ( + {(ra.admin_id.isNone() || (ra.admin_id.isSome() && !accepted)) && (