diff options
| author | shpuld <shp@cock.li> | 2019-01-30 20:49:24 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-01-30 20:49:24 +0200 |
| commit | c7cffbb6c70bbb21cf787d96e82e0261427b9234 (patch) | |
| tree | a517e4942725286b173b685cbe87bc6c7878b66e /src/components/user_settings/user_settings.js | |
| parent | 51024a2c8af9d88b07c050b7502fa62843aa4ba2 (diff) | |
| parent | b1facdf7ad54436c2afde7c28c917cda87a5b7e3 (diff) | |
Merge branch 'develop' into feat/media-modal
Diffstat (limited to 'src/components/user_settings/user_settings.js')
| -rw-r--r-- | src/components/user_settings/user_settings.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js index dcce275a..be799f5d 100644 --- a/src/components/user_settings/user_settings.js +++ b/src/components/user_settings/user_settings.js @@ -10,7 +10,8 @@ const UserSettings = { newLocked: this.$store.state.users.currentUser.locked, newNoRichText: this.$store.state.users.currentUser.no_rich_text, newDefaultScope: this.$store.state.users.currentUser.default_scope, - newHideNetwork: this.$store.state.users.currentUser.hide_network, + hideFollowings: this.$store.state.users.currentUser.hide_followings, + hideFollowers: this.$store.state.users.currentUser.hide_followers, followList: null, followImportError: false, followsImported: false, @@ -66,7 +67,8 @@ const UserSettings = { /* eslint-disable camelcase */ const default_scope = this.newDefaultScope const no_rich_text = this.newNoRichText - const hide_network = this.newHideNetwork + const hide_followings = this.hideFollowings + const hide_followers = this.hideFollowers /* eslint-enable camelcase */ this.$store.state.api.backendInteractor .updateProfile({ @@ -78,7 +80,8 @@ const UserSettings = { /* eslint-disable camelcase */ default_scope, no_rich_text, - hide_network + hide_followings, + hide_followers /* eslint-enable camelcase */ }}).then((user) => { if (!user.error) { |
