mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5408 from thornbill/empty-playlist-tab
Fix empty playlists tab in music libraries
This commit is contained in:
commit
811fef991a
2 changed files with 4 additions and 2 deletions
|
@ -79,7 +79,10 @@ const Music: FC = () => {
|
|||
<PageTabContent
|
||||
key={`${currentTab.viewType} - ${libraryId}`}
|
||||
currentTab={currentTab}
|
||||
parentId={libraryId}
|
||||
parentId={
|
||||
// Playlists exist outside of the scope of the library
|
||||
currentTab.viewType === LibraryTab.Playlists ? undefined : libraryId
|
||||
}
|
||||
/>
|
||||
</Page>
|
||||
);
|
||||
|
|
|
@ -20,7 +20,6 @@ export default function (view, params, tabContent) {
|
|||
},
|
||||
view: userSettings.getSavedView(key) || 'Poster'
|
||||
};
|
||||
pageData.query.ParentId = params.topParentId;
|
||||
userSettings.loadQuerySettings(key, pageData.query);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue