mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
added pdfcredential native support
This commit is contained in:
@@ -164,6 +164,17 @@ export default {
|
||||
getMenuItems (item) {
|
||||
const result = []
|
||||
if (item.type === 'account') {
|
||||
item.possible_actions.forEach(element => {
|
||||
result.push({
|
||||
label: this.$gettext(element.label),
|
||||
icon: element.icon,
|
||||
link: element.url,
|
||||
onClick: () => {
|
||||
window.open(element.url)
|
||||
this.fetchIdentities()
|
||||
}
|
||||
})
|
||||
})
|
||||
result.push({ label: this.$gettext('Edit'), icon: 'mdi-circle-edit-outline', onClick: this.editAccount })
|
||||
result.push({ label: this.$gettext('Delete'), icon: 'mdi-delete-outline', onClick: this.deleteAccount, color: 'red' })
|
||||
} else if (item.type === 'alias') {
|
||||
|
||||
Reference in New Issue
Block a user