mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
try fixing join group button
This commit is contained in:
parent
282fc347f1
commit
49288750cf
@ -564,7 +564,7 @@ export default {
|
||||
// },
|
||||
prepareJoinLeave() {
|
||||
// "membersCountStartValue" is updated to avoid counting from 0 when join/leave
|
||||
this.membersCountStartValue = this.GroupMembers.length
|
||||
this.membersCountStartValue = (this.GroupMembers && this.GroupMembers.length) || 0
|
||||
},
|
||||
updateJoinLeave({ myRoleInGroup }) {
|
||||
this.Group[0].myRole = myRoleInGroup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user