[pve-devel] [PATCH manager] fix #3620: ui: delete empty pbs fingerprint on edit

Dominik Csapak d.csapak at proxmox.com
Mon Sep 13 10:29:31 CEST 2021


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

diff --git a/www/manager6/storage/PBSEdit.js b/www/manager6/storage/PBSEdit.js
index 773d41e8..fcbc9548 100644
--- a/www/manager6/storage/PBSEdit.js
+++ b/www/manager6/storage/PBSEdit.js
@@ -512,6 +512,7 @@ Ext.define('PVE.storage.PBSInputPanel', {
 		emptyText: gettext('Server certificate SHA-256 fingerprint, required for self-signed certificates'),
 		regex: /[A-Fa-f0-9]{2}(:[A-Fa-f0-9]{2}){31}/,
 		regexText: gettext('Example') + ': AB:CD:EF:...',
+		deleteEmpty: !me.isCreate,
 		allowBlank: true,
 	    },
 	];
-- 
2.30.2






More information about the pve-devel mailing list