[pve-devel] [PATCH manager] ui: dc/Cluster: show errors on 'join' info in the view

Dominik Csapak d.csapak at proxmox.com
Fri Oct 29 11:00:52 CEST 2021


so instead of getting the 'standalone node' message, the grid
is masked with the actual api error

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

diff --git a/www/manager6/dc/Cluster.js b/www/manager6/dc/Cluster.js
index 12fd9468..836d4661 100644
--- a/www/manager6/dc/Cluster.js
+++ b/www/manager6/dc/Cluster.js
@@ -58,6 +58,7 @@ Ext.define('PVE.ClusterAdministration', {
 			storeid: 'pve-cluster-info',
 			model: 'pve-cluster-info',
 		    });
+		    Proxmox.Utils.monStoreErrors(view, view.store);
 		    view.store.on('load', this.onLoad, this);
 		    view.on('destroy', view.store.stopUpdate);
 		},
-- 
2.30.2






More information about the pve-devel mailing list