Переглянути джерело

fix: small fix for homepage station cards links

Kristian Vos 5 роки тому
батько
коміт
cca73bd50c
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      frontend/components/pages/Home.vue

+ 4 - 1
frontend/components/pages/Home.vue

@@ -24,7 +24,10 @@
 				<router-link
 					v-for="(station, index) in stations"
 					:key="index"
-					:to="{ name: 'community', params: { id: station.name } }"
+					:to="{
+						name: 'station',
+						params: { id: station.name }
+					}"
 					class="card station-card"
 					:class="{
 						isPrivate: station.privacy === 'private',