mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed: Interactive import SelectArtist ordering
This commit is contained in:
parent
029a0e4e20
commit
3ae079a541
1 changed files with 11 additions and 1 deletions
|
@ -12,7 +12,17 @@ function createMapStateToProps() {
|
||||||
createAllArtistSelector(),
|
createAllArtistSelector(),
|
||||||
(items) => {
|
(items) => {
|
||||||
return {
|
return {
|
||||||
items
|
items: items.sort((a, b) => {
|
||||||
|
if (a.sortName < b.sortName) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (a.sortName > b.sortName) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
})
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue