Bladeren bron

refactor(ManageStation): Reordered request and autofill tabs

Owen Diffey 2 jaren geleden
bovenliggende
commit
51d17b3bf8
1 gewijzigde bestanden met toevoegingen van 17 en 17 verwijderingen
  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"