diff --git a/pkg/interface/chat/src/js/components/sidebar.js b/pkg/interface/chat/src/js/components/sidebar.js index 339e6bcb7d..ff6f2a9443 100644 --- a/pkg/interface/chat/src/js/components/sidebar.js +++ b/pkg/interface/chat/src/js/components/sidebar.js @@ -66,7 +66,7 @@ export class Sidebar extends Component { return selectedPaths.includes(each) }) .map((each, i) => { - let channels = groupedChannels[each]; + let channels = groupedChannels[each] || []; if (channels.length === 0) return; if (groupedChannels["/~/"] && groupedChannels["/~/"].length !== 0) { i = i + 1;