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:
		
				
					committed by
					
						 Dietmar Maurer
						Dietmar Maurer
					
				
			
			
				
	
			
			
			
						parent
						
							9e2a4653b4
						
					
				
				
					commit
					12710fd3c3
				
			| @ -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); | ||||||
| 	}, | 	}, | ||||||
|     }, |     }, | ||||||
|  |  | ||||||
|  | |||||||
| @ -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: { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user