[pve-devel] [PATCH manager 1/3] GUI: Allow passing the node to BackupConfig directly.

Matthias Heiserer m.heiserer at proxmox.com
Fri Mar 4 12:52:16 CET 2022


Signed-off-by: Matthias Heiserer <m.heiserer at proxmox.com>
---
 www/manager6/window/BackupConfig.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/window/BackupConfig.js b/www/manager6/window/BackupConfig.js
index ca61b1e4..9609fe34 100644
--- a/www/manager6/window/BackupConfig.js
+++ b/www/manager6/window/BackupConfig.js
@@ -24,7 +24,7 @@ Ext.define('PVE.window.BackupConfig', {
 	    throw "no volume specified";
 	}
 
-	var nodename = me.pveSelNode.data.node;
+	var nodename = me.node ?? me.pveSelNode.data.node;
 	if (!nodename) {
 	    throw "no node name specified";
 	}
-- 
2.30.2






More information about the pve-devel mailing list