From 104b983e049f7261b8d677d9caef45069177ddcc Mon Sep 17 00:00:00 2001 From: ThinaticSystem Date: Sun, 7 Nov 2021 09:51:10 +0900 Subject: [PATCH] remove isbot switch in userSetting --- src/client/pages/settings/profile.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/client/pages/settings/profile.vue b/src/client/pages/settings/profile.vue index b993b5fc7..805c50efa 100644 --- a/src/client/pages/settings/profile.vue +++ b/src/client/pages/settings/profile.vue @@ -39,8 +39,6 @@ {{ $ts.flagAsCat }} - {{ $ts.flagAsBot }} - {{ $ts.alwaysMarkSensitive }} @@ -96,7 +94,6 @@ export default defineComponent({ fieldValue3: null, avatarId: null, bannerId: null, - isBot: false, isCat: false, alwaysMarkNsfw: false, saving: false, @@ -111,7 +108,6 @@ export default defineComponent({ this.lang = this.$i.lang; this.avatarId = this.$i.avatarId; this.bannerId = this.$i.bannerId; - this.isBot = this.$i.isBot; this.isCat = this.$i.isCat; this.alwaysMarkNsfw = this.$i.alwaysMarkNsfw; @@ -129,7 +125,6 @@ export default defineComponent({ this.$watch('location', this.save); this.$watch('birthday', this.save); this.$watch('lang', this.save); - this.$watch('isBot', this.save); this.$watch('isCat', this.save); this.$watch('alwaysMarkNsfw', this.save); }, @@ -237,7 +232,6 @@ export default defineComponent({ location: this.location || null, birthday: this.birthday || null, lang: this.lang || null, - isBot: !!this.isBot, isCat: !!this.isCat, alwaysMarkNsfw: !!this.alwaysMarkNsfw, }).then(i => {