[pve-devel] [PATCH manager 3/3] ui: dc/Backup: add 'skip-missed' checkbox
Dominik Csapak
d.csapak at proxmox.com
Wed Jun 1 12:23:20 CEST 2022
so that the users can configure how to handle missed job runs
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/dc/Backup.js | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index 3494aa54..6a7dc6b1 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -182,6 +182,14 @@ Ext.define('PVE.dc.BackupEdit', {
},
selModeField,
selPool,
+ {
+ xtype: 'proxmoxcheckbox',
+ fieldLabel: gettext('Skip missed'),
+ name: 'skip-missed',
+ uncheckedValue: 0,
+ defaultValue: 0,
+ deleteDefaultValue: 1,
+ },
];
let column2 = [
@@ -581,6 +589,7 @@ Ext.define('PVE.dc.BackupView', {
delete job.node;
delete job.comment;
delete job['next-run'];
+ delete job['skip-missed'];
job.all = job.all === true ? 1 : 0;
if (job['prune-backups']) {
--
2.30.2
More information about the pve-devel
mailing list