ソースを参照

fix: fixed issue where station would keep trying to add song to queue in playlist mode

Kristian Vos 5 年 前
コミット
a3e934e2ae
1 ファイル変更4 行追加1 行削除
  1. 4 1
      frontend/components/Station/Station.vue

+ 4 - 1
frontend/components/Station/Station.vue

@@ -930,7 +930,10 @@ export default {
 		},
 		addFirstPrivatePlaylistSongToQueue() {
 			let isInQueue = false;
-			if (this.station.type === "community") {
+			if (
+				this.station.type === "community" &&
+				this.station.partyMode === true
+			) {
 				this.songsList.forEach(queueSong => {
 					if (queueSong.requestedBy === this.userId) isInQueue = true;
 				});