Fixed Spotify Class Issue
This commit is contained in:
parent
720669d3e2
commit
9c278ca579
@ -236,7 +236,7 @@ export class SpotifyPlaylist {
|
||||
this.tracksCount = Number(data.tracks.total);
|
||||
const videos: SpotifyTrack[] = [];
|
||||
data.tracks.items.forEach((v: any) => {
|
||||
if(v) videos.push(new SpotifyTrack(v.track));
|
||||
if(v.track) videos.push(new SpotifyTrack(v.track));
|
||||
});
|
||||
this.fetched_tracks = new Map();
|
||||
this.fetched_tracks.set('1', videos);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user