mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
fix editorsidebar
This commit is contained in:
parent
8a263d7b25
commit
8b14acb597
@ -280,8 +280,11 @@
|
||||
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', {
|
||||
detail: eventData,
|
||||
bubbles: true,
|
||||
@ -289,6 +292,7 @@
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onNodeOpen(event, data) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user