mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix editorsidebar
This commit is contained in:
parent
bbf347a3fd
commit
03ead52b22
1 changed files with 10 additions and 6 deletions
|
@ -280,8 +280,11 @@
|
||||||
collectionType: node.li_attr.collectiontype
|
collectionType: node.li_attr.collectiontype
|
||||||
};
|
};
|
||||||
|
|
||||||
if (eventData.itemType != 'livetv' && eventData.itemType != 'mediafolders' && eventData.serverItemType != 'UserView' && eventData.serverItemType != 'CollectionFolder' && !eventData.collectionType) {
|
if (eventData.itemType != 'livetv' && eventData.itemType != 'mediafolders') {
|
||||||
|
|
||||||
|
// We'd like to prevent these from being editable but this removes the ability to perform a top level refresh
|
||||||
|
//if (eventData.serverItemType != 'UserView' && eventData.serverItemType != 'CollectionFolder' && !eventData.collectionType)
|
||||||
|
{
|
||||||
this.dispatchEvent(new CustomEvent('itemclicked', {
|
this.dispatchEvent(new CustomEvent('itemclicked', {
|
||||||
detail: eventData,
|
detail: eventData,
|
||||||
bubbles: true,
|
bubbles: true,
|
||||||
|
@ -289,6 +292,7 @@
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function onNodeOpen(event, data) {
|
function onNodeOpen(event, data) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue