|
|
@ -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
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|