mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
New: Sort import list groups
This commit is contained in:
parent
af26ac849a
commit
ba310fe66b
2 changed files with 6 additions and 1 deletions
|
@ -17,7 +17,10 @@ function createMapStateToProps() {
|
|||
schema
|
||||
} = importLists;
|
||||
|
||||
const listGroups = _.groupBy(schema, 'listType');
|
||||
const listGroups = _.chain(schema)
|
||||
.sortBy((o) => o.listOrder)
|
||||
.groupBy('listType')
|
||||
.value();
|
||||
|
||||
return {
|
||||
isSchemaFetching,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue