Merge pull request #560 from h3poteto/iss-551

closes #551 Set active tab to first when close preferences
This commit is contained in:
AkiraFukushima 2018-08-22 21:18:28 +09:00 committed by GitHub
commit 12aa6d2446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ export default {
methods: {
close () {
this.$router.push('/')
this.$store.commit('Preferences/changeActive', '1')
},
general () {
this.$router.push('/preferences/general')