mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 08:13:10 +02:00
✌️
This commit is contained in:
parent
7bd1a3c8ac
commit
44f7c13ad4
2 changed files with 20 additions and 8 deletions
|
@ -398,6 +398,7 @@ category: "カテゴリ"
|
||||||
tags: "タグ"
|
tags: "タグ"
|
||||||
docSource: "このドキュメントのソース"
|
docSource: "このドキュメントのソース"
|
||||||
createAccount: "アカウントを作成"
|
createAccount: "アカウントを作成"
|
||||||
|
existingAcount: "既存のアカウント"
|
||||||
|
|
||||||
_ago:
|
_ago:
|
||||||
unknown: "謎"
|
unknown: "謎"
|
||||||
|
|
|
@ -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({
|
||||||
|
items: [{
|
||||||
|
type: 'item',
|
||||||
|
text: this.$t('existingAcount'),
|
||||||
|
action: () => { this.addAcount(); },
|
||||||
}, {
|
}, {
|
||||||
type: 'item',
|
type: 'item',
|
||||||
icon: faPlus,
|
|
||||||
text: this.$t('createAccount'),
|
text: this.$t('createAccount'),
|
||||||
action: () => { this.createAccount() },
|
action: () => { this.createAccount(); },
|
||||||
}, null, ...accountItems, ]],
|
}],
|
||||||
|
align: 'left',
|
||||||
|
fixed: true,
|
||||||
|
width: 240,
|
||||||
|
source: ev.currentTarget || ev.target,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
}]],
|
||||||
align: 'left',
|
align: 'left',
|
||||||
fixed: true,
|
fixed: true,
|
||||||
width: 240,
|
width: 240,
|
||||||
|
|
Loading…
Reference in a new issue