Просмотр исходного кода

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

Owen Diffey 3 лет назад
Родитель
Сommit
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>