1
0
Fork 0
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:
Bill Thornton 2022-03-31 14:36:09 -04:00
parent 3a14418e47
commit 1085034c18
7 changed files with 14 additions and 15 deletions

View file

@ -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');

View file

@ -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('');
}
}