Merge pull request #560 from h3poteto/iss-551
closes #551 Set active tab to first when close preferences
This commit is contained in:
commit
12aa6d2446
|
@ -54,6 +54,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
close () {
|
close () {
|
||||||
this.$router.push('/')
|
this.$router.push('/')
|
||||||
|
this.$store.commit('Preferences/changeActive', '1')
|
||||||
},
|
},
|
||||||
general () {
|
general () {
|
||||||
this.$router.push('/preferences/general')
|
this.$router.push('/preferences/general')
|
||||||
|
|
Loading…
Reference in New Issue