mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
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:
parent
fdfcb96498
commit
475d4abc06
@ -185,9 +185,11 @@
|
|||||||
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
||||||
style="text-align: center"
|
style="text-align: center"
|
||||||
>
|
>
|
||||||
<client-only>
|
<div v-if="inviteRegistration">
|
||||||
<invite-button placement="top" />
|
<client-only>
|
||||||
</client-only>
|
<invite-button placement="top" />
|
||||||
|
</client-only>
|
||||||
|
</div>
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
<!-- group button -->
|
<!-- group button -->
|
||||||
<ds-flex-item
|
<ds-flex-item
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user