backup site: make config the first option
This commit is contained in:
@@ -160,6 +160,11 @@ const actionMenuModel = ref([]);
|
||||
const actionMenuElement = useTemplateRef('actionMenuElement');
|
||||
function onActionMenu(site, event) {
|
||||
actionMenuModel.value = [{
|
||||
icon: 'fa-solid fa-screwdriver-wrench',
|
||||
label: t('backups.configAction'),
|
||||
visible: profile.value.isAtLeastOwner,
|
||||
action: onEditConfig.bind(null, site),
|
||||
}, {
|
||||
icon: 'fa-solid fa-box-open',
|
||||
label: t('backups.contentAction'),
|
||||
visible: profile.value.isAtLeastOwner,
|
||||
@@ -169,12 +174,7 @@ function onActionMenu(site, event) {
|
||||
label: t('backups.schedule.title'),
|
||||
visible: profile.value.isAtLeastOwner,
|
||||
action: onEditSchedule.bind(null, site),
|
||||
}, {
|
||||
icon: 'fa-solid fa-screwdriver-wrench',
|
||||
label: t('backups.configAction'),
|
||||
visible: profile.value.isAtLeastOwner,
|
||||
action: onEditConfig.bind(null, site),
|
||||
}, {
|
||||
},{
|
||||
visible: profile.value.isAtLeastOwner,
|
||||
separator: true,
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user