diff --git a/ui/page/channel/view.jsx b/ui/page/channel/view.jsx index 236a0b3f7..e05afa378 100644 --- a/ui/page/channel/view.jsx +++ b/ui/page/channel/view.jsx @@ -87,7 +87,7 @@ function ChannelPage(props: Props) { } = useHistory(); const [viewBlockedChannel, setViewBlockedChannel] = React.useState(false); const urlParams = new URLSearchParams(search); - const currentView = urlParams.get(PAGE_VIEW_QUERY) || undefined; + const currentView = urlParams.get(PAGE_VIEW_QUERY) || PAGE.CONTENT; const [discussionWasMounted, setDiscussionWasMounted] = React.useState(false); const editing = urlParams.get(PAGE_VIEW_QUERY) === PAGE.EDIT; const { channelName } = parseURI(uri); @@ -288,21 +288,25 @@ function ChannelPage(props: Props) { - {__('No Content Found')}} - /> + {currentView === PAGE.CONTENT && ( + {__('No Content Found')}} + /> + )} - + {currentView === PAGE.LISTS && ( + + )}