Split hide_network into hide_followers & hide_followings
This commit is contained in:
parent
43c26a4cd0
commit
298cea8f6d
9 changed files with 25 additions and 12 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue