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: "タグ" tags: "タグ"
docSource: "このドキュメントのソース" docSource: "このドキュメントのソース"
createAccount: "アカウントを作成" createAccount: "アカウントを作成"
existingAcount: "既存のアカウント"
_ago: _ago:
unknown: "謎" unknown: "謎"

View file

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