Explorar o código

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

Owen Diffey %!s(int64=3) %!d(string=hai) anos
pai
achega
0666448aaa
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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>