ui: add missing monStoreErrors

to actually show api errors on the list call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-05-26 12:23:26 +02:00 committed by Dietmar Maurer
parent 9e2a4653b4
commit 12710fd3c3
2 changed files with 5 additions and 0 deletions

View File

@ -77,6 +77,7 @@ Ext.define('PBS.config.ACLView', {
params.exact = view.aclExact; params.exact = view.aclExact;
} }
proxy.setExtraParams(params); proxy.setExtraParams(params);
Proxmox.Utils.monStoreErrors(view, view.getStore().rstore);
}, },
}, },

View File

@ -60,6 +60,10 @@ Ext.define('PBS.config.UserView', {
}, },
reload: function() { this.getView().getStore().rstore.load(); }, reload: function() { this.getView().getStore().rstore.load(); },
init: function(view) {
Proxmox.Utils.monStoreErrors(view, view.getStore().rstore);
},
}, },
listeners: { listeners: {