Fixed: Clean Artist Index Sort Menu, Fix Next/Last Album Sorting

Fixes #256
This commit is contained in:
Qstick 2018-03-24 22:21:17 -04:00
parent a96df79572
commit 8423b6d488
2 changed files with 16 additions and 13 deletions

View file

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