mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Fix Mixed and Recordings libraries being omitted from the per Library sections
This commit is contained in:
@@ -863,7 +863,7 @@
|
||||
}
|
||||
|
||||
const libraries = await window.dataHelper.getLibraries();
|
||||
const filteredLibraries = (libraries || []).filter(l => l.CollectionType && l.CollectionType !== 'boxsets' && l.CollectionType !== 'playlists');
|
||||
const filteredLibraries = (libraries || []).filter(l => !l.CollectionType || (l.CollectionType !== 'boxsets' && l.CollectionType !== 'playlists'));
|
||||
const currentLibraryIds = new Set(filteredLibraries.map(l => l.Id));
|
||||
|
||||
if (!libraries || libraries.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user