Client - update users link

This commit is contained in:
Sam 2022-03-13 16:54:28 +01:00
parent b0334c87da
commit ce680b0d3e
2 changed files with 8 additions and 1 deletions

View File

@ -46,7 +46,7 @@
<span class="cell-heading">
{{ $t('user.USERNAME') }}
</span>
<router-link :to="`/users/${user.username}`">
<router-link :to="`/admin/users/${user.username}`">
{{ user.username }}
</router-link>
</td>

View File

@ -234,6 +234,13 @@ const routes: Array<RouteRecordRaw> = [
name: 'SportsAdministration',
component: AdminSports,
},
{
path: 'users/:username',
name: 'User',
component: () =>
import(/* webpackChunkName: 'profile' */ '@/views/user/UserView.vue'),
props: { fromAdmin: true },
},
{
path: 'users',
name: 'UsersAdministration',