Client - update users link
This commit is contained in:
parent
b0334c87da
commit
ce680b0d3e
@ -46,7 +46,7 @@
|
|||||||
<span class="cell-heading">
|
<span class="cell-heading">
|
||||||
{{ $t('user.USERNAME') }}
|
{{ $t('user.USERNAME') }}
|
||||||
</span>
|
</span>
|
||||||
<router-link :to="`/users/${user.username}`">
|
<router-link :to="`/admin/users/${user.username}`">
|
||||||
{{ user.username }}
|
{{ user.username }}
|
||||||
</router-link>
|
</router-link>
|
||||||
</td>
|
</td>
|
||||||
|
@ -234,6 +234,13 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
name: 'SportsAdministration',
|
name: 'SportsAdministration',
|
||||||
component: AdminSports,
|
component: AdminSports,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'users/:username',
|
||||||
|
name: 'User',
|
||||||
|
component: () =>
|
||||||
|
import(/* webpackChunkName: 'profile' */ '@/views/user/UserView.vue'),
|
||||||
|
props: { fromAdmin: true },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'users',
|
path: 'users',
|
||||||
name: 'UsersAdministration',
|
name: 'UsersAdministration',
|
||||||
|
Loading…
Reference in New Issue
Block a user