Bläddra i källkod

refactor(ManageStation): Reordered request and autofill tabs

Owen Diffey 2 år sedan
förälder
incheckning
51d17b3bf8
1 ändrade filer med 17 tillägg och 17 borttagningar
  1. 17 17
      frontend/src/components/modals/ManageStation/index.vue

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

@@ -36,6 +36,15 @@
 							>
 								Settings
 							</button>
+							<button
+								v-if="canRequest()"
+								class="button is-default"
+								:class="{ selected: tab === 'request' }"
+								ref="request-tab"
+								@click="showTab('request')"
+							>
+								Request
+							</button>
 							<button
 								v-if="
 									isOwnerOrAdmin() && station.autofill.enabled
@@ -47,15 +56,6 @@
 							>
 								Autofill
 							</button>
-							<button
-								v-if="canRequest()"
-								class="button is-default"
-								:class="{ selected: tab === 'request' }"
-								ref="request-tab"
-								@click="showTab('request')"
-							>
-								Request
-							</button>
 							<button
 								v-if="isOwnerOrAdmin()"
 								class="button is-default"
@@ -73,6 +73,14 @@
 							:modal-uuid="modalUuid"
 							ref="settingsTabComponent"
 						/>
+						<request
+							v-if="canRequest()"
+							class="tab"
+							v-show="tab === 'request'"
+							:sector="'manageStation'"
+							:disable-auto-request="sector !== 'station'"
+							:modal-uuid="modalUuid"
+						/>
 						<playlist-tab-base
 							v-if="isOwnerOrAdmin() && station.autofill.enabled"
 							class="tab"
@@ -87,14 +95,6 @@
 								</p>
 							</template>
 						</playlist-tab-base>
-						<request
-							v-if="canRequest()"
-							class="tab"
-							v-show="tab === 'request'"
-							:sector="'manageStation'"
-							:disable-auto-request="sector !== 'station'"
-							:modal-uuid="modalUuid"
-						/>
 						<playlist-tab-base
 							v-if="isOwnerOrAdmin()"
 							class="tab"