From 1ec73228300b30eddf91a6875bb2cdf3fec4c0e8 Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Sat, 20 Aug 2022 13:58:24 +0530 Subject: [PATCH] Hide pin spaces from home --- src/app/organisms/navigation/Home.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/organisms/navigation/Home.jsx b/src/app/organisms/navigation/Home.jsx index 5e26a48b..123a713b 100644 --- a/src/app/organisms/navigation/Home.jsx +++ b/src/app/organisms/navigation/Home.jsx @@ -30,7 +30,7 @@ function Home({ spaceId }) { roomIds = spaceChildIds.filter((roomId) => rooms.has(roomId)); directIds = spaceChildIds.filter((roomId) => directs.has(roomId)); } else { - spaceIds = roomList.getOrphanSpaces(); + spaceIds = roomList.getOrphanSpaces().filter((id) => !accountData.spaceShortcut.has(id)); roomIds = roomList.getOrphanRooms(); }