fix(webapp): fix cta-join-group, can crash when group is not defined (#9103)

This commit is contained in:
Ulf Gebhardt 2026-01-19 13:05:09 +01:00 committed by GitHub
parent b7604e9af5
commit 6a42d12fda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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