1
0
Эх сурвалжийг харах

fix(Station): Current song not being set correctly

Owen Diffey 2 жил өмнө
parent
commit
4ce8baaeda

+ 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,