Explorar el Código

fix: fixed issue with navigating to admin page from official stations

Kristian Vos hace 5 años
padre
commit
c1c6e4754a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      frontend/components/Station/OfficialHeader.vue

+ 1 - 1
frontend/components/Station/OfficialHeader.vue

@@ -25,7 +25,7 @@
 					v-if="$parent.$parent.role === 'admin'"
 					class="nav-item is-tab admin"
 					href="#"
-					to="admin"
+					:to="{ path: '/admin' }"
 				>
 					<strong>Admin</strong>
 				</router-link>