Fix empty playlists tab in music libraries
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user