From 2a23d7a1e79be3b2e65b610fb60f6a43c1e2de0e Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Tue, 27 Oct 2020 14:15:27 -0400 Subject: [PATCH] launch: filter out metadata for deleted groups Addresses #3800 through front-end. --- pkg/interface/src/views/apps/launch/app.js | 6 +++++- pkg/interface/src/views/apps/launch/components/Groups.tsx | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkg/interface/src/views/apps/launch/app.js b/pkg/interface/src/views/apps/launch/app.js index 0d85f11f5..a0ba6285f 100644 --- a/pkg/interface/src/views/apps/launch/app.js +++ b/pkg/interface/src/views/apps/launch/app.js @@ -76,7 +76,11 @@ export default class LaunchApp extends React.Component { weather={props.weather} /> - + [0]) { } const groups = Object.values(associations?.contacts || {}) + .filter(e => e['group-path'] in props.groups) .sort(sortGroupsAlph); const acceptInvite = (invite) => {