Add 'bot' flag to Profile settings

This commit is contained in:
Sergey Suprunenko 2020-06-21 14:59:05 +02:00
parent 1afa0f0044
commit 2451956d83
No known key found for this signature in database
GPG key ID: 5DCA7D1BE3914F9C
4 changed files with 9 additions and 0 deletions

View file

@ -23,6 +23,7 @@ const ProfileTab = {
showRole: this.$store.state.users.currentUser.show_role,
role: this.$store.state.users.currentUser.role,
discoverable: this.$store.state.users.currentUser.discoverable,
bot: this.$store.state.users.currentUser.bot,
allowFollowingMove: this.$store.state.users.currentUser.allow_following_move,
pickAvatarBtnVisible: true,
bannerUploading: false,
@ -79,6 +80,7 @@ const ProfileTab = {
hide_follows: this.hideFollows,
hide_followers: this.hideFollowers,
discoverable: this.discoverable,
bot: this.bot,
allow_following_move: this.allowFollowingMove,
hide_follows_count: this.hideFollowsCount,
hide_followers_count: this.hideFollowersCount,