public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH widget-toolkit] certificates: delete: Fix a typo
@ 2023-08-14  9:44 Filip Schauer
  2023-08-14 10:06 ` Fiona Ebner
  0 siblings, 1 reply; 2+ messages in thread
From: Filip Schauer @ 2023-08-14  9:44 UTC (permalink / raw)
  To: pve-devel

Fix the UI not refreshing when a successful certificate deletion
requires it.
---
 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-14 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-14  9:44 [pve-devel] [PATCH widget-toolkit] certificates: delete: Fix a typo Filip Schauer
2023-08-14 10:06 ` Fiona Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal