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/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7Bthis.props.imageSrc%7D?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)) && (