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
|
@ -715,10 +715,6 @@ class AppRouter {
|
|||
Dashboard.navigate('home.html?tab=1');
|
||||
}
|
||||
|
||||
setTitle(title) {
|
||||
LibraryMenu.setTitle(title);
|
||||
}
|
||||
|
||||
getRouteUrl(item, options) {
|
||||
if (!item) {
|
||||
throw new Error('item cannot be null');
|
||||
|
|
|
@ -2,7 +2,7 @@ import backdrop from '../backdrop/backdrop';
|
|||
import * as mainTabsManager from '../maintabsmanager';
|
||||
import layoutManager from '../layoutManager';
|
||||
import '../../elements/emby-tabs/emby-tabs';
|
||||
import { appRouter } from '../appRouter';
|
||||
import LibraryMenu from '../../scripts/libraryMenu';
|
||||
|
||||
function onViewDestroy() {
|
||||
const tabControllers = this.tabControllers;
|
||||
|
@ -105,8 +105,9 @@ class TabbedView {
|
|||
currentTabController.onPause();
|
||||
}
|
||||
}
|
||||
|
||||
setTitle() {
|
||||
appRouter.setTitle('');
|
||||
LibraryMenu.setTitle('');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue