mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-08 05:51:47 -07: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() {
|
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…
Add table
Add a link
Reference in a new issue