mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Incorporate suggestion in mediaLibraryEditor.js
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
71afc176b0
commit
d5778538a0
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function onEditLibrary() {
|
|||
const dlg = dom.parentWithClass(this, 'dlg-libraryeditor');
|
||||
// when the library has moved or symlinked, the ItemId is not correct anymore
|
||||
// this can lead to a forever spinning value on edit the library parameters
|
||||
if (currentOptions.library.ItemId == undefined) {
|
||||
if (!currentOptions.library.ItemId) {
|
||||
loading.hide();
|
||||
dialogHelper.close(dlg);
|
||||
alert({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue