diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-23 13:01:52 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-23 13:01:52 +0900 |
| commit | 70a8dd30e034eb713a15e04ffdb9c7970c1303fc (patch) | |
| tree | b5e8419bb121b96da556f4b0999b11cd318bd334 /src/client/ui | |
| parent | fix style (diff) | |
| download | misskey-70a8dd30e034eb713a15e04ffdb9c7970c1303fc.tar.gz misskey-70a8dd30e034eb713a15e04ffdb9c7970c1303fc.tar.bz2 misskey-70a8dd30e034eb713a15e04ffdb9c7970c1303fc.zip | |
Improve client
Diffstat (limited to 'src/client/ui')
| -rw-r--r-- | src/client/ui/_common_/sidebar.vue | 8 | ||||
| -rw-r--r-- | src/client/ui/default.sidebar.vue | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/client/ui/_common_/sidebar.vue b/src/client/ui/_common_/sidebar.vue index 45b1c079bd..df11877147 100644 --- a/src/client/ui/_common_/sidebar.vue +++ b/src/client/ui/_common_/sidebar.vue @@ -157,11 +157,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(); }, @@ -177,7 +177,7 @@ export default defineComponent({ }, 'closed'); }, - addAcount() { + addAccount() { os.popup(import('@client/components/signin-dialog.vue'), {}, { done: res => { addAccount(res.id, res.i); diff --git a/src/client/ui/default.sidebar.vue b/src/client/ui/default.sidebar.vue index 29ef99fc86..b07914679d 100644 --- a/src/client/ui/default.sidebar.vue +++ b/src/client/ui/default.sidebar.vue @@ -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); |