domains: Edit should be first action

This commit is contained in:
Girish Ramakrishnan
2025-09-17 13:49:31 +02:00
parent c23234d1d8
commit a9fe3e1b12

View File

@@ -78,13 +78,15 @@ const actionMenuModel = ref([]);
const actionMenuElement = useTemplateRef('actionMenuElement');
function onActionMenu(domain, event) {
actionMenuModel.value = [{
icon: 'fa-solid fa-atlas',
label: t('domains.tooltipWellKnown'),
action: () => wellKnownDialog.value.open(domain),
}, {
icon: 'fa-solid fa-pencil-alt',
label: t('main.action.edit'),
action: onEdit.bind(null, domain),
},{
separator: true,
}, {
icon: 'fa-solid fa-atlas',
label: t('domains.tooltipWellKnown'),
action: () => wellKnownDialog.value.open(domain),
}, {
separator: true,
}, {