Преглед изворни кода

fix(ManageStation): Delete station button missing for official stations

Owen Diffey пре 3 година
родитељ
комит
0666448aaa
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      frontend/src/components/modals/ManageStation/index.vue

+ 1 - 4
frontend/src/components/modals/ManageStation/index.vue

@@ -171,10 +171,7 @@
 						Clear and refill station queue
 					</a>
 				</confirm>
-				<confirm
-					v-if="station && station.type === 'community'"
-					@confirm="removeStation()"
-				>
+				<confirm @confirm="removeStation()">
 					<button class="button is-danger">Delete station</button>
 				</confirm>
 			</div>