From c403fa62baab320bbc5a06415dcab405c352d3ab Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Fri, 13 Nov 2020 16:47:36 +0200 Subject: [PATCH] fix route --- src/boot/routes.js | 4 ++-- src/components/lists/lists.vue | 10 +++++++++- src/components/timeline_menu/timeline_menu.js | 3 ++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/boot/routes.js b/src/boot/routes.js index 2a3728aa..3df36f42 100644 --- a/src/boot/routes.js +++ b/src/boot/routes.js @@ -70,8 +70,8 @@ export default (store) => { { name: 'search', path: '/search', component: Search, props: (route) => ({ query: route.query.query }) }, { name: 'who-to-follow', path: '/who-to-follow', component: WhoToFollow, beforeEnter: validateAuthenticatedRoute }, { name: 'about', path: '/about', component: About }, - { name: 'user-profile', path: '/(users/)?:name', component: UserProfile }, - { name: 'lists', path: '/lists', component: Lists, beforeEnter: validateAuthenticatedRoute } + { name: 'lists', path: '/lists', component: Lists, beforeEnter: validateAuthenticatedRoute }, + { name: 'user-profile', path: '/(users/)?:name', component: UserProfile } ] if (store.state.instance.pleromaChatMessagesAvailable) { diff --git a/src/components/lists/lists.vue b/src/components/lists/lists.vue index bb7ffbe5..86244df9 100644 --- a/src/components/lists/lists.vue +++ b/src/components/lists/lists.vue @@ -1,5 +1,8 @@