diff --git a/src/apps/experimental/components/AppToolbar/index.tsx b/src/apps/experimental/components/AppToolbar/index.tsx index 6a3016cafa..e8626fd397 100644 --- a/src/apps/experimental/components/AppToolbar/index.tsx +++ b/src/apps/experimental/components/AppToolbar/index.tsx @@ -18,6 +18,14 @@ interface AppToolbarProps { onDrawerButtonClick: (event: React.MouseEvent) => void } +const PUBLIC_PATHS = [ + '/addserver.html', + '/selectserver.html', + '/login.html', + '/forgotpassword.html', + '/forgotpasswordpin.html' +]; + const ExperimentalAppToolbar: FC = ({ isDrawerAvailable, isDrawerOpen, @@ -29,7 +37,7 @@ const ExperimentalAppToolbar: FC = ({ if (location.pathname === '/video') return null; const isTabsAvailable = isTabPath(location.pathname); - const isPublicPath = location.pathname === '/selectserver.html'; + const isPublicPath = PUBLIC_PATHS.includes(location.pathname); return (