FIX Bad var affect. artist name
This commit is contained in:
@@ -76,7 +76,7 @@ export class DashboardComponent implements OnInit {
|
||||
// Search good artist by track count
|
||||
albums.forEach(album => {
|
||||
if (album['Track Count'] === albumBucket.doc_count) {
|
||||
this.albumArtists[album.Name] = album['Album Artist'].toString();
|
||||
this.albumArtists[album.Name] = album['Album Artist'] ? album['Album Artist'].toString() : album.Artist.toString();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user