diff options
| author | raeno <just.raeno@gmail.com> | 2018-11-30 18:53:59 +0400 |
|---|---|---|
| committer | raeno <just.raeno@gmail.com> | 2018-11-30 18:53:59 +0400 |
| commit | 59b84c2a06f3d280419b2bfd6561130dd83803c1 (patch) | |
| tree | 1e6e411f33567d95ff9f0067240267a5db3f7714 /src | |
| parent | 0c3cd05965c591d136207ac88a598209e371dbb6 (diff) | |
Do not use underscore at the beginning of the method
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/user_settings/user_settings.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js index b1d7663f..761e674a 100644 --- a/src/components/user_settings/user_settings.js +++ b/src/components/user_settings/user_settings.js @@ -235,7 +235,7 @@ const UserSettings = { if (res.status === 'success') { this.changedPassword = true this.changePasswordError = false - this._logout() + this.logout() } else { this.changedPassword = false this.changePasswordError = res.error @@ -245,7 +245,7 @@ const UserSettings = { activateTab (tabName) { this.activeTab = tabName }, - _logout () { + logout () { this.$store.dispatch('logout') this.$router.replace('/') } |
