fix cta-join-group, can crash when group is not defined

This commit is contained in:
Ulf Gebhardt 2026-01-15 17:08:08 +01:00
parent f0c91a4abc
commit 28f0a84a8b
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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"
/>