mirror of https://github.com/lidarr/Lidarr
Fixed: Selecting a root folder in add new artist modal
This commit is contained in:
parent
e2e4a94a9f
commit
ffa2167653
|
@ -6,7 +6,10 @@ import sortByProp from 'Utilities/Array/sortByProp';
|
||||||
|
|
||||||
export default function createRootFoldersSelector() {
|
export default function createRootFoldersSelector() {
|
||||||
return createSelector(
|
return createSelector(
|
||||||
createSortedSectionSelector<RootFolder>('rootFolders', sortByProp('name')),
|
createSortedSectionSelector<RootFolder>(
|
||||||
|
'settings.rootFolders',
|
||||||
|
sortByProp('name')
|
||||||
|
),
|
||||||
(rootFolders: RootFolderAppState) => rootFolders
|
(rootFolders: RootFolderAppState) => rootFolders
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue