Bläddra i källkod

fix(Station): current/next song item components requested at text wouldn't update when a song changed

Kristian Vos 2 år sedan
förälder
incheckning
6c7e8d0675
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      frontend/src/pages/Station/index.vue

+ 2 - 0
frontend/src/pages/Station/index.vue

@@ -531,6 +531,7 @@
 								:class="{ 'no-currently-playing': noSong }"
 							>
 								<song-item
+									:key="`songItem-currentSong-${currentSong._id}`"
 									:song="currentSong"
 									:duration="false"
 									:requested-by="true"
@@ -543,6 +544,7 @@
 								class="quadrant"
 							>
 								<song-item
+									:key="`songItem-nextSong-${nextSong._id}`"
 									:song="nextSong"
 									:duration="false"
 									:requested-by="true"