[pve-devel] [PATCH manager] NetworkEdit: Use default model

Matthias Heiserer m.heiserer at proxmox.com
Fri Nov 18 11:29:55 CET 2022


Patch eb1a09647d25d6d588260a971187a8803453a9ed broke the preselected
Model by setting it to ''. The GUI displays/selects an empty field
as default.

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

diff --git a/www/manager6/qemu/NetworkEdit.js b/www/manager6/qemu/NetworkEdit.js
index 9e90a4e2..d85fbfac 100644
--- a/www/manager6/qemu/NetworkEdit.js
+++ b/www/manager6/qemu/NetworkEdit.js
@@ -36,7 +36,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
 
     viewModel: {
 	data: {
-	    networkModel: '',
+	    networkModel: undefined,
 	    mtu: '',
 	},
 	formulas: {
-- 
2.30.2






More information about the pve-devel mailing list