Fix space add options visible in home

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura
2022-02-23 19:48:24 +05:30
parent 6c4085398e
commit d3ddbc0c72
3 changed files with 2 additions and 5 deletions

View File

@@ -48,8 +48,6 @@ function DrawerBreadcrumb({ spaceId }) {
};
}, [spaceId]);
if (spacePath.length === 1) return null;
function getHomeNotiExcept(childId) {
const orphans = roomList.getOrphans();
const childIndex = orphans.indexOf(childId);