mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-23 04:41:14 +00:00
parent
2afcdf0759
commit
5b682271ad
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ export class RegistrationApplication extends Component<
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{(!ra.admin_id || (ra.admin_id && !accepted)) && (
|
{(ra.admin_id.isNone() || (ra.admin_id.isSome() && !accepted)) && (
|
||||||
<button
|
<button
|
||||||
className="btn btn-secondary mr-2 my-2"
|
className="btn btn-secondary mr-2 my-2"
|
||||||
onClick={linkEvent(this, this.handleApprove)}
|
onClick={linkEvent(this, this.handleApprove)}
|
||||||
|
@ -113,7 +113,7 @@ export class RegistrationApplication extends Component<
|
||||||
{i18n.t("approve")}
|
{i18n.t("approve")}
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
{(!ra.admin_id || (ra.admin_id && accepted)) && (
|
{(ra.admin_id.isNone() || (ra.admin_id.isSome() && accepted)) && (
|
||||||
<button
|
<button
|
||||||
className="btn btn-secondary mr-2"
|
className="btn btn-secondary mr-2"
|
||||||
onClick={linkEvent(this, this.handleDeny)}
|
onClick={linkEvent(this, this.handleDeny)}
|
||||||
|
|
Loading…
Reference in a new issue