nanka iroiro
This commit is contained in:
parent
8c897660df
commit
423f73777c
13 changed files with 92 additions and 14 deletions
|
|
@ -22,6 +22,10 @@
|
|||
<input v-model="birthday" type="date" class="ui"/>
|
||||
</label>
|
||||
<button class="ui primary" @click="save">%i18n:desktop.tags.mk-profile-setting.save%</button>
|
||||
<section>
|
||||
<h2>その他</h2>
|
||||
<el-switch v-model="os.i.is_bot" @change="onChangeIsBot" active-text="このアカウントはbotです"/>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -56,6 +60,11 @@ export default Vue.extend({
|
|||
}).then(() => {
|
||||
(this as any).apis.notify('プロフィールを更新しました');
|
||||
});
|
||||
},
|
||||
onChangeIsBot() {
|
||||
(this as any).api('i/update', {
|
||||
is_bot: (this as any).os.i.is_bot
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue