diff options
| author | kaniini <ariadne@dereferenced.org> | 2019-09-26 22:20:01 +0000 |
|---|---|---|
| committer | kaniini <ariadne@dereferenced.org> | 2019-09-26 22:20:01 +0000 |
| commit | 4369ce6f1bd7d6f44247a1b3f3d8d3892f71ff9b (patch) | |
| tree | 52e8326801d56af2558fb3c355efa33def742fd0 /src/components/user_settings/user_settings.js | |
| parent | 501208d350a9bd0fbcafb13d70a2fa6182fb8cf3 (diff) | |
| parent | aafb29c58978cbd8dbea2898b93bdab9979b5646 (diff) | |
Merge branch 'hide-followers-follows-count' into 'develop'
Added a setting to hide follow/follower count from the user profile
See merge request pleroma/pleroma-fe!951
Diffstat (limited to 'src/components/user_settings/user_settings.js')
| -rw-r--r-- | src/components/user_settings/user_settings.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js index ae04ce73..21b01476 100644 --- a/src/components/user_settings/user_settings.js +++ b/src/components/user_settings/user_settings.js @@ -41,6 +41,8 @@ const UserSettings = { newDefaultScope: this.$store.state.users.currentUser.default_scope, hideFollows: this.$store.state.users.currentUser.hide_follows, hideFollowers: this.$store.state.users.currentUser.hide_followers, + hideFollowsCount: this.$store.state.users.currentUser.hide_follows_count, + hideFollowersCount: this.$store.state.users.currentUser.hide_followers_count, showRole: this.$store.state.users.currentUser.show_role, role: this.$store.state.users.currentUser.role, pickAvatarBtnVisible: true, @@ -142,6 +144,8 @@ const UserSettings = { no_rich_text: this.newNoRichText, hide_follows: this.hideFollows, hide_followers: this.hideFollowers, + hide_follows_count: this.hideFollowsCount, + hide_followers_count: this.hideFollowersCount, show_role: this.showRole /* eslint-enable camelcase */ } }).then((user) => { |
