瀏覽代碼

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>