From ab33c358180754e784b50f1d00304aa41ccb11a5 Mon Sep 17 00:00:00 2001 From: Legendword Date: Fri, 26 Mar 2021 17:50:00 -0700 Subject: [PATCH] Default tab changed to Profile for AuthorProfile and UserProfile pages It feels like the proper behavior to land on the first tab instead of the second tab for these two pages. --- src/router/routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/routes.js b/src/router/routes.js index 01df723..79168a5 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -13,9 +13,9 @@ const routes = [ { path: 'newAccount', component: () => import('pages/NewAccount.vue') }, { path: 'emailVerification', component: () => import('pages/EmailVerification.vue') }, { path: 'me', component: () => import('pages/Me.vue') }, - { path: 'user/:id', redirect: 'user/:id/collections' }, + { path: 'user/:id', redirect: 'user/:id/profile' }, { path: 'user/:id/:tab', component: () => import('pages/UserProfile.vue'), meta: { customBarTitle: true } }, - { path: 'author/:id', redirect: 'author/:id/posts' }, + { path: 'author/:id', redirect: 'author/:id/profile' }, { path: 'author/:id/:tab', component: () => import('pages/AuthorProfile.vue'), meta: { customBarTitle: true } }, { path: 'search', redirect: 'search/posts' }, { path: 'search/:tab', component: () => import('pages/Search.vue') },