try fixing join group button

This commit is contained in:
Moriz Wahl 2023-03-17 11:10:23 +01:00
parent 282fc347f1
commit 49288750cf

View File

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