Explorar o código

fix: opening EditSong for a youtubeVideo wouldn't load the player at first

Kristian Vos %!s(int64=2) %!d(string=hai) anos
pai
achega
24da46e806
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontend/src/components/modals/EditSong/index.vue

+ 1 - 1
frontend/src/components/modals/EditSong/index.vue

@@ -1219,7 +1219,7 @@ export default {
 
 								this.playerReady = true;
 
-								if (this.song && this.song._id)
+								if (this.song && this.song.youtubeId)
 									this.video.player.cueVideoById(
 										this.song.youtubeId,
 										this.song.skipDuration