From 05d45d9aaba1d5219a9b1d0b7deb887eb65130b7 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:43:09 -0700 Subject: [PATCH] Fix page crash on orgs (#1727) --- 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) {