This commit is contained in:
2023-09-04 19:11:09 +02:00
parent d5fbabec4f
commit b5ae1a2e65
+3 -2
View File
@@ -2,7 +2,7 @@
<div class="home-view"> <div class="home-view">
<div class="scenery-selector"> <div class="scenery-selector">
<h1 style="margin: 0">Wybierz scenerię, aby otworzyć widok pragotronu</h1> <h1 style="margin: 0">Wybierz scenerię, aby otworzyć widok pragotronu</h1>
<p style="margin: 0.5em; color: #ccc;">Widoczne jedynie scenerie aktywne na serwerze PL1</p> <p style="margin: 0.5em; color: #ccc">Widoczne jedynie scenerie aktywne na serwerze PL1</p>
<ul class="scenery-list" v-if="dataLoaded && onlineStations.length > 0"> <ul class="scenery-list" v-if="dataLoaded && onlineStations.length > 0">
<li v-for="(stationName, i) in onlineStations"> <li v-for="(stationName, i) in onlineStations">
@@ -52,7 +52,7 @@ export default defineComponent({
methods: { methods: {
handleClick(stationName: string) { handleClick(stationName: string) {
this.$router.push(`/board?name=${stationName.replace(/ /g, '_')}`); this.$router.push(`/board?name=${stationName}`);
// this.selectedStation = station; // this.selectedStation = station;
}, },
}, },
@@ -72,3 +72,4 @@ ul.scenery-list {
max-width: 1000px; max-width: 1000px;
} }
</style> </style>