Bläddra i källkod

fix: No default tab autorequest or blacklist playlist tab

Owen Diffey 2 år sedan
förälder
incheckning
ba1d8a3b0b

+ 0 - 4
.wiki/Fork_Changes.md

@@ -1,4 +0,0 @@
-# Fork changes
-
-This fork has the following changes.
-

+ 1 - 1
backend/config/template.json

@@ -140,7 +140,7 @@
 		"queue_add_before_autofilled": [
 			"STATION_ID"
 		],
-		"disable_youtube_search": true,
+		"disable_youtube_search": false,
 		"registration_email_whitelist": false
 	}
 }

+ 3 - 1
frontend/src/components/PlaylistTabBase.vue

@@ -321,7 +321,9 @@ const searchForPlaylists = page => {
 };
 
 onMounted(() => {
-	showTab("my-playlists");
+	if (props.type === "autorequest" || station.value.type === "community")
+		showTab("my-playlists");
+	else showTab("search");
 
 	socket.onConnect(() => {
 		socket.dispatch("playlists.indexMyPlaylists", res => {