We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7993a04 commit 35ca054Copy full SHA for 35ca054
frontend/src/app/main-playlists/main-playlists.component.ts
@@ -60,9 +60,11 @@ export class MainPlaylistsComponent implements OnInit {
60
}
61
62
setupPlaylists() {
63
+ console.log(this.config.Playlists);
64
const customIndex = this.config.Playlists.map(p => p.PlaylistID).indexOf('CustomSongs');
65
if (customIndex > -1) {
- this.customPlaylist = this.config.Playlists.splice(customIndex, 1)[0];
66
+ this.customPlaylist = this.config.Playlists[customIndex];
67
+ this.config.Playlists.splice(customIndex, 1);
68
} else {
69
this.customPlaylist = {
70
CoverArtFilename: null,
0 commit comments