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

Renamed managestation search to add songs.

Owen Diffey 3 жил өмнө
parent
commit
388580c261

+ 1 - 1
frontend/src/components/Queue.vue

@@ -83,7 +83,7 @@
 					!station.locked ||
 					(station.locked && isAdminOnly() && dismissedWarning))
 			"
-			@click="openModal('manageStation') & showManageStationTab('search')"
+			@click="openModal('manageStation') & showManageStationTab('songs')"
 		>
 			<i class="material-icons icon-with-button">queue</i>
 			<span> Add Song To Queue </span>

+ 1 - 1
frontend/src/components/modals/EditSong/Tabs/Reports.vue

@@ -202,9 +202,9 @@
 </template>
 
 <script>
-import ReportInfoItem from "@/components/ReportInfoItem.vue";
 import { mapState, mapGetters, mapActions } from "vuex";
 import Toast from "toasters";
+import ReportInfoItem from "@/components/ReportInfoItem.vue";
 
 export default {
 	components: { ReportInfoItem },

+ 0 - 0
frontend/src/components/modals/ManageStation/Tabs/Search.vue → frontend/src/components/modals/ManageStation/Tabs/Songs.vue


+ 9 - 9
frontend/src/components/modals/ManageStation/index.vue

@@ -48,11 +48,11 @@
 										!station.locked)
 								"
 								class="button is-default"
-								:class="{ selected: tab === 'search' }"
-								ref="search-tab"
-								@click="showTab('search')"
+								:class="{ selected: tab === 'songs' }"
+								ref="songs-tab"
+								@click="showTab('songs')"
 							>
-								Search
+								Add Songs
 							</button>
 							<button
 								v-if="isOwnerOrAdmin()"
@@ -81,7 +81,7 @@
 							class="tab"
 							v-show="tab === 'playlists'"
 						/>
-						<search
+						<songs
 							v-if="
 								loggedIn &&
 								station.type === 'community' &&
@@ -90,7 +90,7 @@
 									!station.locked)
 							"
 							class="tab"
-							v-show="tab === 'search'"
+							v-show="tab === 'songs'"
 						/>
 						<blacklist
 							v-if="isOwnerOrAdmin()"
@@ -205,7 +205,7 @@ import Modal from "../../Modal.vue";
 
 import Settings from "./Tabs/Settings.vue";
 import Playlists from "./Tabs/Playlists.vue";
-import Search from "./Tabs/Search.vue";
+import Songs from "./Tabs/Songs.vue";
 import Blacklist from "./Tabs/Blacklist.vue";
 
 export default {
@@ -216,7 +216,7 @@ export default {
 		SongItem,
 		Settings,
 		Playlists,
-		Search,
+		Songs,
 		Blacklist
 	},
 	props: {
@@ -250,7 +250,7 @@ export default {
 				this.editStation(station);
 
 				if (!this.isOwnerOrAdmin() && this.station.partyMode)
-					this.showTab("search");
+					this.showTab("songs");
 
 				const currentSong = res.data.station.currentSong
 					? res.data.station.currentSong

+ 1 - 1
frontend/src/pages/Admin/tabs/Reports.vue

@@ -85,11 +85,11 @@
 </template>
 
 <script>
-import ReportInfoItem from "@/components/ReportInfoItem.vue";
 import { mapState, mapActions, mapGetters } from "vuex";
 import { defineAsyncComponent } from "vue";
 
 import Toast from "toasters";
+import ReportInfoItem from "@/components/ReportInfoItem.vue";
 import ws from "@/ws";
 
 export default {