feat: directly open general settings when opening user settings and none selected
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
1fa164453c
commit
ce0122ba81
|
@ -64,6 +64,10 @@ export default {
|
|||
name: 'Settings',
|
||||
mounted() {
|
||||
this.setTitle(this.$t('user.settings.title'))
|
||||
|
||||
if(this.$route.name === 'user.settings') {
|
||||
this.$router.replace({name: 'user.settings.general'})
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState('config', ['totpEnabled', 'caldavEnabled']),
|
||||
|
|
Reference in New Issue
Block a user