summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components/settings.profile.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/desktop/views/components/settings.profile.vue')
-rw-r--r--src/client/app/desktop/views/components/settings.profile.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/app/desktop/views/components/settings.profile.vue b/src/client/app/desktop/views/components/settings.profile.vue
index 28be48e0a8..324a939f95 100644
--- a/src/client/app/desktop/views/components/settings.profile.vue
+++ b/src/client/app/desktop/views/components/settings.profile.vue
@@ -24,7 +24,7 @@
<button class="ui primary" @click="save">%i18n:desktop.tags.mk-profile-setting.save%</button>
<section>
<h2>その他</h2>
- <mk-switch v-model="os.i.account.isBot" @change="onChangeIsBot" text="このアカウントはbotです"/>
+ <mk-switch v-model="os.i.isBot" @change="onChangeIsBot" text="このアカウントはbotです"/>
</section>
</div>
</template>
@@ -43,9 +43,9 @@ export default Vue.extend({
},
created() {
this.name = (this as any).os.i.name || '';
- this.location = (this as any).os.i.account.profile.location;
+ this.location = (this as any).os.i.profile.location;
this.description = (this as any).os.i.description;
- this.birthday = (this as any).os.i.account.profile.birthday;
+ this.birthday = (this as any).os.i.profile.birthday;
},
methods: {
updateAvatar() {
@@ -63,7 +63,7 @@ export default Vue.extend({
},
onChangeIsBot() {
(this as any).api('i/update', {
- isBot: (this as any).os.i.account.isBot
+ isBot: (this as any).os.i.isBot
});
}
}