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:
parent
e20df3f284
commit
3930ade140
2 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue