Rename "hide_following" to "hide_follows"

This commit is contained in:
Maxim Filippov 2019-02-06 14:21:13 +03:00
parent 18594569bd
commit 0c5c889850
9 changed files with 12 additions and 12 deletions

View file

@ -12,7 +12,7 @@ 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,
hideFollowings: this.$store.state.users.currentUser.hide_followings,
hideFollows: this.$store.state.users.currentUser.hide_follows,
hideFollowers: this.$store.state.users.currentUser.hide_followers,
followList: null,
followImportError: false,
@ -69,7 +69,7 @@ const UserSettings = {
/* eslint-disable camelcase */
const default_scope = this.newDefaultScope
const no_rich_text = this.newNoRichText
const hide_followings = this.hideFollowings
const hide_follows = this.hideFollows
const hide_followers = this.hideFollowers
/* eslint-enable camelcase */
this.$store.state.api.backendInteractor
@ -82,7 +82,7 @@ const UserSettings = {
/* eslint-disable camelcase */
default_scope,
no_rich_text,
hide_followings,
hide_follows,
hide_followers
/* eslint-enable camelcase */
}}).then((user) => {

View file

@ -30,8 +30,8 @@
<label for="account-no-rich-text">{{$t('settings.no_rich_text_description')}}</label>
</p>
<p>
<input type="checkbox" v-model="hideFollowings" id="account-hide-followings">
<label for="account-hide-followings">{{$t('settings.hide_followings_description')}}</label>
<input type="checkbox" v-model="hideFollows" id="account-hide-follows">
<label for="account-hide-follows">{{$t('settings.hide_follows_description')}}</label>
</p>
<p>
<input type="checkbox" v-model="hideFollowers" id="account-hide-followers">