mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-17 10:21:31 +00:00
fix cta-join-group, can crash when group is not defined
This commit is contained in:
parent
f0c91a4abc
commit
28f0a84a8b
@ -154,7 +154,7 @@
|
||||
>
|
||||
<cta-unblock-author v-if="isBlocked" :author="post.author" />
|
||||
<cta-join-leave-group
|
||||
v-else-if="!commentingAllowedByGroupRole"
|
||||
v-else-if="group && !commentingAllowedByGroupRole"
|
||||
:group="group"
|
||||
@update="updateJoinLeave"
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user