Client - update users link
This commit is contained in:
parent
b0334c87da
commit
ce680b0d3e
@ -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>
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user