[pve-devel] [PATCH manager v6 03/16] ui: dc: backup: send 'job-id' property when starting a backup job manually

Lukas Wagner l.wagner at proxmox.com
Mon Apr 22 10:31:03 CEST 2024


Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 www/manager6/dc/Backup.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index 2619a77b..d68f553c 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -586,11 +586,12 @@ Ext.define('PVE.dc.BackupView', {
 	    job = Ext.clone(job);
 
 	    let jobNode = job.node;
+	    job['job-id'] = job.id;
+	    delete job.id;
 	    // Remove properties related to scheduling
 	    delete job.enabled;
 	    delete job.starttime;
 	    delete job.dow;
-	    delete job.id;
 	    delete job.schedule;
 	    delete job.type;
 	    delete job.node;
-- 
2.39.2





More information about the pve-devel mailing list