[pve-devel] [PATCH manager] gui: UserView: show api call errors

Dominik Csapak d.csapak at proxmox.com
Wed Nov 27 16:27:34 CET 2019


otherwise, an api error leads to an empty UserView, and the user
wonders why no users show up

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

diff --git a/www/manager6/dc/UserView.js b/www/manager6/dc/UserView.js
index 8918fb2b..922d072b 100644
--- a/www/manager6/dc/UserView.js
+++ b/www/manager6/dc/UserView.js
@@ -191,5 +191,7 @@ Ext.define('PVE.dc.UserView', {
 	});
 
 	me.callParent();
+
+	Proxmox.Utils.monStoreErrors(me, store);
     }
 });
-- 
2.20.1





More information about the pve-devel mailing list