From aa0811a46bf321b23e7d442a342821fe791edbfd Mon Sep 17 00:00:00 2001 From: gdbroman <99gustaf@gmail.com> Date: Fri, 28 Jul 2023 22:50:13 +0200 Subject: [PATCH] Filter out old Groups (id: landscape) --- .../system/desktop/components/Home/Ship/AppGrid.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/renderer/system/desktop/components/Home/Ship/AppGrid.tsx b/app/src/renderer/system/desktop/components/Home/Ship/AppGrid.tsx index df42bb984e..4c65af9e14 100644 --- a/app/src/renderer/system/desktop/components/Home/Ship/AppGrid.tsx +++ b/app/src/renderer/system/desktop/components/Home/Ship/AppGrid.tsx @@ -24,10 +24,10 @@ const AppGridPresenter = ({ maxWidth }: AppGridProps) => { const currentSpace = spacesStore.selected; const apps = useMemo( () => - [ - ...bazaarStore.installed, - // ...bazaarStore.devApps - ] as AppMobxType[], + // Filter out old Groups. + bazaarStore.installed.filter( + (app) => app.id !== 'landscape' + ) as AppMobxType[], [bazaarStore.catalog, bazaarStore.installations.values()] ); const [items, setItems] = useState(apps);