You've already forked AstralRinth
forked from didirus/AstralRinth
Fix page crash on orgs (#1727)
This commit is contained in:
@@ -1264,7 +1264,8 @@ const members = computed(() => {
|
|||||||
)
|
)
|
||||||
: x.is_owner
|
: 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) => {
|
rest.sort((a, b) => {
|
||||||
if (a.role === b.role) {
|
if (a.role === b.role) {
|
||||||
|
|||||||
Reference in New Issue
Block a user