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

@ -33,6 +33,7 @@ import Dashboard from '../../scripts/clientUtils';
import ServerConnections from '../../components/ServerConnections';
import confirm from '../../components/confirm/confirm';
import { download } from '../../scripts/fileDownloader';
import LibraryMenu from '../../scripts/libraryMenu';
function autoFocus(container) {
import('../../components/autoFocuser').then(({ default: autoFocuser }) => {
@ -571,7 +572,7 @@ function renderDetailPageBackdrop(page, item, apiClient) {
function reloadFromItem(instance, page, params, item, user) {
const apiClient = ServerConnections.getApiClient(item.ServerId);
appRouter.setTitle('');
LibraryMenu.setTitle('');
// Start rendering the artwork first
renderImage(page, item);
@ -2042,7 +2043,7 @@ export default function (view, params) {
if (e.detail.isRestored) {
if (currentItem) {
appRouter.setTitle('');
LibraryMenu.setTitle('');
renderTrackSelections(page, self, currentItem, true);
renderBackdrop(currentItem);
}