[pve-devel] [PATCH manager] ui: dc/ACME: fix not refreshing api column

Dominik Csapak d.csapak at proxmox.com
Mon May 11 13:09:16 CEST 2020


When using a diffstore, we have to specify all fields that are
displayed, otherwise the store does not know which fields to check for
change

for the acme plugin view, 'api' was missing

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

diff --git a/www/manager6/dc/ACMEClusterView.js b/www/manager6/dc/ACMEClusterView.js
index 9c6ca377..cb45a2ba 100644
--- a/www/manager6/dc/ACMEClusterView.js
+++ b/www/manager6/dc/ACMEClusterView.js
@@ -10,7 +10,7 @@ Ext.define('pve-acme-accounts', {
 
 Ext.define('pve-acme-plugins', {
     extend: 'Ext.data.Model',
-    fields: ['type', 'plugin'],
+    fields: ['type', 'plugin', 'api'],
     proxy: {
 	type: 'proxmox',
 	url: "/api2/json/cluster/acme/plugins",
-- 
2.20.1





More information about the pve-devel mailing list