mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Clean Artist Index Sort Menu, Fix Next/Last Album Sorting
Fixes #256
This commit is contained in:
parent
a96df79572
commit
8423b6d488
2 changed files with 16 additions and 13 deletions
|
@ -163,6 +163,18 @@ export const defaultState = {
|
|||
return progress + trackCount / 1000000;
|
||||
},
|
||||
|
||||
nextAlbum: function(item) {
|
||||
if (item.nextAlbum) {
|
||||
return item.nextAlbum.title;
|
||||
}
|
||||
},
|
||||
|
||||
lastAlbum: function(item) {
|
||||
if (item.lastAlbum) {
|
||||
return item.lastAlbum.title;
|
||||
}
|
||||
},
|
||||
|
||||
albumCount: function(item) {
|
||||
return item.statistics.albumCount;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue