Browse Source

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

Kristian Vos 2 years ago
parent
commit
6c7e8d0675
1 changed files with 2 additions and 0 deletions
  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"