From d909aad8e31bddac2d53a5fa44c5ab758292ca23 Mon Sep 17 00:00:00 2001 From: Jai A Date: Fri, 14 Jun 2024 15:40:15 -0700 Subject: [PATCH] Fix page crash on orgs --- pages/[type]/[id].vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/[type]/[id].vue b/pages/[type]/[id].vue index 882ca67efb..b986e6469b 100644 --- a/pages/[type]/[id].vue +++ b/pages/[type]/[id].vue @@ -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) {