Pārlūkot izejas kodu

Merge branch 'staging' of github.com:Musare/Musare into staging

Kristian Vos 1 gadu atpakaļ
vecāks
revīzija
525a4dbae4
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      frontend/src/components/Request.vue

+ 2 - 2
frontend/src/components/Request.vue

@@ -126,9 +126,9 @@ const addSongToQueue = (mediaSource: string, index?: number) => {
 };
 
 watch(
-	() => props.disableAutoRequest,
+	() => station.value.requests.allowAutorequest && !props.disableAutoRequest,
 	value => {
-		if (value && tab.value === "autorequest") showTab("songs");
+		if (!value && tab.value === "autorequest") showTab("songs");
 	}
 );