API & Client - fix link to user profile in workout card

This commit is contained in:
Sam
2022-03-30 11:30:26 +02:00
parent 8f4272ee76
commit 26c600fa32
3 changed files with 27 additions and 3 deletions

View File

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