Explorar o código

fix(Station): Current song not being set correctly

Owen Diffey %!s(int64=2) %!d(string=hai) anos
pai
achega
4ce8baaeda
Modificáronse 1 ficheiros con 2 adicións e 7 borrados
  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,