if no song is playing
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
"https://www.adam-french.co.uk/api/spotify",
|
||||
);
|
||||
const data = await res.json();
|
||||
if (this.playing == false) {
|
||||
this.album_image = "/img/Untitled.png";
|
||||
return;
|
||||
}
|
||||
|
||||
this.album_image = data.album_image;
|
||||
this.artist_name = data.artist_name;
|
||||
this.song_name = data.song_name;
|
||||
|
||||
Reference in New Issue
Block a user