Explorar o código

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

Kristian Vos %!s(int64=5) %!d(string=hai) anos
pai
achega
c1c6e4754a
Modificáronse 1 ficheiros con 1 adicións e 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>