hide channel selector on all paths except home
This commit is contained in:
parent
9bc4c6bf1c
commit
2fa6d42f5e
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {
|
||||||
.includes("mac")}
|
.includes("mac")}
|
||||||
onClick={() => setNavigatorVisibility(true)}
|
onClick={() => setNavigatorVisibility(true)}
|
||||||
/>
|
/>
|
||||||
{channel && (
|
{channel && location.pathname === "/" && (
|
||||||
<AppChannelSelect
|
<AppChannelSelect
|
||||||
channels={availableChannels}
|
channels={availableChannels}
|
||||||
disabled={!isPickerActive}
|
disabled={!isPickerActive}
|
||||||
|
|
Loading…
Reference in a new issue