From 194dd881183a301538033da2d91b76dcf7358565 Mon Sep 17 00:00:00 2001 From: Hakaba Hitoyo Date: Thu, 26 Sep 2019 22:31:28 +0000 Subject: [PATCH] Feature/Add _Allow user discovery services_ preference --- src/components/user_settings/user_settings.js | 2 ++ src/components/user_settings/user_settings.vue | 8 ++++++++ src/i18n/en.json | 1 + src/i18n/ja.json | 1 + src/i18n/ja_pedantic.json | 1 + .../entity_normalizer/entity_normalizer.service.js | 1 + 6 files changed, 14 insertions(+) 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 diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue index a84e6f5c..ef75ac52 100644 --- a/src/components/user_settings/user_settings.vue +++ b/src/components/user_settings/user_settings.vue @@ -131,6 +131,14 @@ for="account-show-role" >{{ $t('settings.show_moderator_badge') }}

+

+ + +