From fe06beae18418c015537f187af9fff5e735f0f35 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 27 Jun 2018 13:28:07 +0000 Subject: [PATCH] fix lint issues --- src/components/user_settings/user_settings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js index b5b9dda6..2b2de913 100644 --- a/src/components/user_settings/user_settings.js +++ b/src/components/user_settings/user_settings.js @@ -41,13 +41,14 @@ const UserSettings = { private: { selected: this.newdefaultScope === 'private' }, direct: { selected: this.newdefaultScope === 'direct' } } - }, + } }, methods: { updateProfile () { const name = this.newname const description = this.newbio const locked = this.newlocked + /* eslint-disable camelcase */ const default_scope = this.newdefaultScope this.$store.state.api.backendInteractor.updateProfile({params: {name, description, locked, default_scope}}).then((user) => { if (!user.error) { @@ -55,6 +56,7 @@ const UserSettings = { this.$store.commit('setCurrentUser', user) } }) + /* eslint-enable camelcase */ }, changeVis (visibility) { this.newdefaultScope = visibility