1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-22 07:42:28 +00:00

Fixed: Selecting a root folder in add new artist modal

This commit is contained in:
Bogdan 2024-07-19 16:37:48 +03:00
parent e2e4a94a9f
commit ffa2167653

View file

@ -6,7 +6,10 @@ import sortByProp from 'Utilities/Array/sortByProp';
export default function createRootFoldersSelector() {
return createSelector(
createSortedSectionSelector<RootFolder>('rootFolders', sortByProp('name')),
createSortedSectionSelector<RootFolder>(
'settings.rootFolders',
sortByProp('name')
),
(rootFolders: RootFolderAppState) => rootFolders
);
}