Skip to content

Commit

Permalink
Hide empty groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Heinrich committed Sep 28, 2023
1 parent 0aca7bc commit 24998cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Editor/Invitees/InviteesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ export default {
return group.uri === attendee.member
})
}
// Hide empty groups
if (attendee.attendeeProperty.userType === 'GROUP' && !attendee.members.length) {
return false
}

return !['RESOURCE', 'ROOM'].includes(attendee.attendeeProperty.userType)
})
Expand Down

0 comments on commit 24998cb

Please sign in to comment.