mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
commit
13a70d3186
12 changed files with 61 additions and 31 deletions
|
@ -646,7 +646,8 @@ import { getParameterByName } from '../utils/url.ts';
|
|||
if (!user) {
|
||||
showBySelector('.libraryMenuDownloads', false);
|
||||
showBySelector('.lnkSyncToOtherDevices', false);
|
||||
return void showBySelector('.userMenuOptions', false);
|
||||
showBySelector('.userMenuOptions', false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (user.Policy.EnableContentDownloading) {
|
||||
|
@ -958,7 +959,8 @@ import { getParameterByName } from '../utils/url.ts';
|
|||
|
||||
function setTitle (title) {
|
||||
if (title == null) {
|
||||
return void LibraryMenu.setDefaultTitle();
|
||||
LibraryMenu.setDefaultTitle();
|
||||
return;
|
||||
}
|
||||
|
||||
if (title === '-') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue