mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
apply suggestion
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
69afc01d44
commit
f8cb8721d1
2 changed files with 7 additions and 8 deletions
|
@ -33,7 +33,6 @@ const ExperimentalAppToolbar: FC<AppToolbarProps> = ({
|
|||
|
||||
const isTabsAvailable = isTabPath(location.pathname);
|
||||
const isPublicPath = PUBLIC_PATHS.includes(location.pathname);
|
||||
const isSearchPath = location.pathname === '/search.html';
|
||||
|
||||
return (
|
||||
<AppToolbar
|
||||
|
@ -41,7 +40,7 @@ const ExperimentalAppToolbar: FC<AppToolbarProps> = ({
|
|||
<>
|
||||
<SyncPlayButton />
|
||||
<RemotePlayButton />
|
||||
<SearchButton isTabsAvailable={isTabsAvailable} isSearchPath={isSearchPath} />
|
||||
<SearchButton isTabsAvailable={isTabsAvailable} />
|
||||
</>
|
||||
)}
|
||||
isDrawerAvailable={isDrawerAvailable}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue