Merge branch 'mp/landscape/sidebar' (#4719)

* origin/mp/landscape/sidebar:
  landscape: fix 'my channels' sidebar logic

Signed-off-by: Matilde Park <matilde.park@gmail.com>
This commit is contained in:
Matilde Park 2021-04-02 16:51:00 -04:00
commit 39ce6f9d58

View File

@ -64,6 +64,7 @@ export function SidebarList(props: {
assoc.group === group &&
!assoc.metadata.hidden
) : (
!(assoc.group in associationState.groups) &&
'graph' in assoc.metadata.config &&
assoc.metadata.config.graph !== 'chat' &&
!assoc.metadata.hidden