mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove setTitle function in app router
This commit is contained in:
parent
3a14418e47
commit
1085034c18
7 changed files with 14 additions and 15 deletions
|
@ -23,6 +23,7 @@ import ServerConnections from '../../../components/ServerConnections';
|
|||
import shell from '../../../scripts/shell';
|
||||
import SubtitleSync from '../../../components/subtitlesync/subtitlesync';
|
||||
import { appRouter } from '../../../components/appRouter';
|
||||
import LibraryMenu from '../../../scripts/libraryMenu';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -150,7 +151,7 @@ import { appRouter } from '../../../components/appRouter';
|
|||
currentItem = item;
|
||||
if (!item) {
|
||||
updateRecordingButton(null);
|
||||
appRouter.setTitle('');
|
||||
LibraryMenu.setTitle('');
|
||||
nowPlayingVolumeSlider.disabled = true;
|
||||
nowPlayingPositionSlider.disabled = true;
|
||||
btnFastForward.disabled = true;
|
||||
|
@ -206,7 +207,7 @@ import { appRouter } from '../../../components/appRouter';
|
|||
itemName = parentName || '';
|
||||
}
|
||||
|
||||
appRouter.setTitle(itemName);
|
||||
LibraryMenu.setTitle(itemName);
|
||||
|
||||
const documentTitle = parentName || (item ? item.Name : null);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue