Hide backup integrity menu action for the moment
This commit is contained in:
@@ -84,13 +84,13 @@ function onActionMenu(backup, event) {
|
|||||||
label: t('app.backups.backups.restoreTooltip'),
|
label: t('app.backups.backups.restoreTooltip'),
|
||||||
disabled: !!props.app.taskId || props.app.runState === 'stopped',
|
disabled: !!props.app.taskId || props.app.runState === 'stopped',
|
||||||
action: onRestore.bind(null, backup),
|
action: onRestore.bind(null, backup),
|
||||||
}, {
|
// }, {
|
||||||
separator: true,
|
// separator: true,
|
||||||
}, {
|
// }, {
|
||||||
icon: 'fa-solid fa-key',
|
// icon: 'fa-solid fa-key',
|
||||||
label: t('app.backups.backups.checkIntegrity'),
|
// label: t('app.backups.backups.checkIntegrity'),
|
||||||
visible: props.app.accessLevel === 'admin',
|
// visible: props.app.accessLevel === 'admin',
|
||||||
action: onCheckIntegrity.bind(null, backup),
|
// action: onCheckIntegrity.bind(null, backup),
|
||||||
}];
|
}];
|
||||||
|
|
||||||
actionMenuElement.value.open(event, event.currentTarget);
|
actionMenuElement.value.open(event, event.currentTarget);
|
||||||
|
|||||||
Reference in New Issue
Block a user