mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-21 23:32:27 +00:00
Fixed: Selecting a root folder in add new artist modal
This commit is contained in:
parent
e2e4a94a9f
commit
ffa2167653
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue