From 6fa87e7d34d23706319840bf0d2a35f0966e50f8 Mon Sep 17 00:00:00 2001 From: Angelika Kinas Date: Thu, 4 Jul 2024 09:44:25 +0200 Subject: [PATCH] fix errors reading undefined --- .../src/app/dashboard/sidebar/sidebar.component.html | 2 +- .../src/app/dashboard/sidebar/sidebar.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/metadata-editor/src/app/dashboard/sidebar/sidebar.component.html b/apps/metadata-editor/src/app/dashboard/sidebar/sidebar.component.html index a6529d42fe..69efa62300 100644 --- a/apps/metadata-editor/src/app/dashboard/sidebar/sidebar.component.html +++ b/apps/metadata-editor/src/app/dashboard/sidebar/sidebar.component.html @@ -41,7 +41,7 @@
- + orgs.filter((org) => org.name === me.organisation) + (orgs, me) => orgs.filter((org) => org.name === me?.organisation) ) } }