aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_settings/user_settings.js
diff options
context:
space:
mode:
authorkaniini <ariadne@dereferenced.org>2019-09-26 22:31:28 +0000
committerkaniini <ariadne@dereferenced.org>2019-09-26 22:31:28 +0000
commit9ef0e65b25bf2bbf1153acf1c927cd66e0c0f217 (patch)
tree1ea6fa496a5dd93bd53209c4ca27caecb7da493a /src/components/user_settings/user_settings.js
parent4369ce6f1bd7d6f44247a1b3f3d8d3892f71ff9b (diff)
parent194dd881183a301538033da2d91b76dcf7358565 (diff)
Merge branch 'feature/add-discoverable-preference' into 'develop'
Feature/Add _Allow user discovery services_ preference See merge request pleroma/pleroma-fe!947
Diffstat (limited to 'src/components/user_settings/user_settings.js')
-rw-r--r--src/components/user_settings/user_settings.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js
index 21b01476..f12cccae 100644
--- a/src/components/user_settings/user_settings.js
+++ b/src/components/user_settings/user_settings.js
@@ -45,6 +45,7 @@ const UserSettings = {
hideFollowersCount: this.$store.state.users.currentUser.hide_followers_count,
showRole: this.$store.state.users.currentUser.show_role,
role: this.$store.state.users.currentUser.role,
+ discoverable: this.$store.state.users.currentUser.discoverable,
pickAvatarBtnVisible: true,
bannerUploading: false,
backgroundUploading: false,
@@ -144,6 +145,7 @@ const UserSettings = {
no_rich_text: this.newNoRichText,
hide_follows: this.hideFollows,
hide_followers: this.hideFollowers,
+ discoverable: this.discoverable,
hide_follows_count: this.hideFollowsCount,
hide_followers_count: this.hideFollowersCount,
show_role: this.showRole