hide invite button on mobile if disabled

The invite button was displayed even when the functionality was
dsiabled. This was caused by a missing check for the corresponding flag.
This commit is contained in:
Ulf Gebhardt 2024-12-19 01:13:58 +01:00
parent fdfcb96498
commit 475d4abc06
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -185,9 +185,11 @@
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
style="text-align: center"
>
<client-only>
<invite-button placement="top" />
</client-only>
<div v-if="inviteRegistration">
<client-only>
<invite-button placement="top" />
</client-only>
</div>
</ds-flex-item>
<!-- group button -->
<ds-flex-item