mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix error that the prop 'groupId' in 'JoinLeaveButton' is undefined at the beginning
This commit is contained in:
parent
330bdd4df5
commit
4e845284fc
@ -91,7 +91,7 @@
|
||||
@update="updateFollow"
|
||||
/> -->
|
||||
<join-leave-button
|
||||
:groupId="group ? group.id : ''"
|
||||
:groupId="group && group.id ? group.id : ''"
|
||||
:userId="currentUser.id"
|
||||
:isMember="isGroupMember"
|
||||
@optimistic="optimisticJoinLeave"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user