feat: directly open general settings when opening user settings and none selected (#1001)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1001
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
This commit is contained in:
konrad 2021-11-14 21:12:18 +00:00
parent 6c6ccc647e
commit 665cc84174

View file

@ -125,6 +125,7 @@ const router = createRouter({
path: '/user/settings', path: '/user/settings',
name: 'user.settings', name: 'user.settings',
component: UserSettingsComponent, component: UserSettingsComponent,
redirect: {name: 'user.settings.general'},
children: [ children: [
{ {
path: '/user/settings/avatar', path: '/user/settings/avatar',