Ver código fonte

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

Owen Diffey 3 anos atrás
pai
commit
0666448aaa

+ 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>