[pve-devel] [PATCH manager 1/2] ui: backup jobs: fix fleecing parameters for 'run now' button

Dominik Csapak d.csapak at proxmox.com
Tue Apr 23 14:14:59 CEST 2024


we have to 'printPropertyString' the fleecing parameters, otherwise
we'll get api parameter errors for that

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/Backup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index 336b23f5..4ba80b31 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -617,7 +617,7 @@ Ext.define('PVE.dc.BackupView', {
 	    delete job['repeat-missed'];
 	    job.all = job.all === true ? 1 : 0;
 
-	    ['performance', 'prune-backups'].forEach(key => {
+	    ['performance', 'prune-backups', 'fleecing'].forEach(key => {
 		if (job[key]) {
 		    job[key] = PVE.Parser.printPropertyString(job[key]);
 		}
-- 
2.39.2





More information about the pve-devel mailing list