Improve client

This commit is contained in:
syuilo
2021-04-23 13:01:52 +09:00
parent d61a74fb88
commit 70a8dd30e0
7 changed files with 187 additions and 13 deletions

View File

@@ -141,11 +141,11 @@ export default defineComponent({
avatar: this.$i,
}, null, ...accountItemPromises, {
icon: 'fas fa-plus',
text: this.$ts.addAcount,
text: this.$ts.addAccount,
action: () => {
os.modalMenu([{
text: this.$ts.existingAcount,
action: () => { this.addAcount(); },
text: this.$ts.existingAccount,
action: () => { this.addAccount(); },
}, {
text: this.$ts.createAccount,
action: () => { this.createAccount(); },
@@ -161,7 +161,7 @@ export default defineComponent({
}, 'closed');
},
addAcount() {
addAccount() {
os.popup(import('@client/components/signin-dialog.vue'), {}, {
done: res => {
addAccount(res.id, res.i);