Explorar el Código

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

Kristian Vos hace 2 años
padre
commit
6c7e8d0675
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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"