From 59b84c2a06f3d280419b2bfd6561130dd83803c1 Mon Sep 17 00:00:00 2001 From: raeno Date: Fri, 30 Nov 2018 18:53:59 +0400 Subject: [PATCH] Do not use underscore at the beginning of the method --- src/components/user_settings/user_settings.js | 4 ++-- 1 file 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('/') }