hide channel selector on all paths except home

This commit is contained in:
sektordv 2021-06-22 12:08:45 +02:00
parent 9bc4c6bf1c
commit 2fa6d42f5e

View file

@ -216,7 +216,7 @@ const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {
.includes("mac")}
onClick={() => setNavigatorVisibility(true)}
/>
{channel && (
{channel && location.pathname === "/" && (
<AppChannelSelect
channels={availableChannels}
disabled={!isPickerActive}