浏览代码

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

Kristian Vos 2 年之前
父节点
当前提交
6c7e8d0675
共有 1 个文件被更改,包括 2 次插入0 次删除
  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"