This commit is contained in:
syuilo 2020-02-15 01:39:14 +09:00
parent 7bd1a3c8ac
commit 44f7c13ad4
2 changed files with 20 additions and 8 deletions

View file

@ -398,6 +398,7 @@ category: "カテゴリ"
tags: "タグ"
docSource: "このドキュメントのソース"
createAccount: "アカウントを作成"
existingAcount: "既存のアカウント"
_ago:
unknown: "謎"

View file

@ -362,17 +362,28 @@ export default Vue.extend({
text: this.$t('settings'),
to: '/my/settings',
icon: faCog,
}, null, {
}, null, ...accountItems, {
type: 'item',
icon: faPlus,
text: this.$t('addAcount'),
action: () => { this.addAcount() },
action: () => {
this.$root.menu({
items: [{
type: 'item',
text: this.$t('existingAcount'),
action: () => { this.addAcount(); },
}, {
type: 'item',
icon: faPlus,
text: this.$t('createAccount'),
action: () => { this.createAccount() },
}, null, ...accountItems, ]],
action: () => { this.createAccount(); },
}],
align: 'left',
fixed: true,
width: 240,
source: ev.currentTarget || ev.target,
});
},
}]],
align: 'left',
fixed: true,
width: 240,