[pve-devel] [PATCH v2 widget-toolkit] certificates: delete: Fix a typo

Filip Schauer f.schauer at proxmox.com
Mon Aug 14 12:13:06 CEST 2023


Fix the UI not refreshing when a successful certificate deletion
requires it.

Signed-off-by: Filip Schauer <f.schauer at proxmox.com>
---
 src/panel/Certificates.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panel/Certificates.js b/src/panel/Certificates.js
index f3358f6..a522ab6 100644
--- a/src/panel/Certificates.js
+++ b/src/panel/Certificates.js
@@ -85,7 +85,7 @@ Ext.define('Proxmox.panel.Certificates', {
 	    url: `/api2/extjs/${url}?restart=1`,
 	    method: 'DELETE',
 	    success: function(response, opt) {
-		if (cert.reloadUid) {
+		if (cert.reloadUi) {
 		    Ext.getBody().mask(
 			gettext('API server will be restarted to use new certificates, please reload web-interface!'),
 			['pve-static-mask'],
-- 
2.39.2






More information about the pve-devel mailing list