mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +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 }"
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user