Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Fix page crash on orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Jun 14, 2024
1 parent 612eb64 commit d909aad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/[type]/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,8 @@ const members = computed(() => {
)
: x.is_owner
)
const rest = acceptedMembers.filter((x) => x.user.id !== owner.user.id) || []
const rest = acceptedMembers.filter((x) => !owner || x.user.id !== owner.user.id) || []
rest.sort((a, b) => {
if (a.role === b.role) {
Expand Down

0 comments on commit d909aad

Please sign in to comment.