ソースを参照

fix(Station): Current song not being set correctly

Owen Diffey 2 年 前
コミット
4ce8baaeda
1 ファイル変更2 行追加7 行削除
  1. 2 7
      frontend/src/pages/Station/index.vue

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

@@ -1188,15 +1188,10 @@ onMounted(async () => {
 	});
 
 	socket.on("event:station.nextSong", res => {
-		const {
-			currentSong: _currentSong,
-			startedAt,
-			paused,
-			timePaused
-		} = res.data;
+		const { currentSong, startedAt, paused, timePaused } = res.data;
 
 		setCurrentSong({
-			_currentSong,
+			currentSong,
 			startedAt,
 			paused,
 			timePaused,