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:
parent
6c6ccc647e
commit
665cc84174
1 changed files with 1 additions and 0 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue