1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix empty playlists tab in music libraries

This commit is contained in:
Bill Thornton 2024-04-23 02:31:47 -04:00
parent e20df3f284
commit 3930ade140
2 changed files with 4 additions and 2 deletions

View file

@ -79,7 +79,10 @@ const Music: FC = () => {
<PageTabContent <PageTabContent
key={`${currentTab.viewType} - ${libraryId}`} key={`${currentTab.viewType} - ${libraryId}`}
currentTab={currentTab} currentTab={currentTab}
parentId={libraryId} parentId={
// Playlists exist outside of the scope of the library
currentTab.viewType === LibraryTab.Playlists ? undefined : libraryId
}
/> />
</Page> </Page>
); );

View file

@ -20,7 +20,6 @@ export default function (view, params, tabContent) {
}, },
view: userSettings.getSavedView(key) || 'Poster' view: userSettings.getSavedView(key) || 'Poster'
}; };
pageData.query.ParentId = params.topParentId;
userSettings.loadQuerySettings(key, pageData.query); userSettings.loadQuerySettings(key, pageData.query);
} }