ui: datastore content: only mask the treeview, not the top bar

so that an user can try to reload again easily for non-persistent
errors

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-27 16:05:07 +02:00
parent a93c96823c
commit 069720f510

View File

@ -197,7 +197,8 @@ Ext.define('PBS.DataStoreContent', {
let view = this.getView();
if (!success) {
Proxmox.Utils.setErrorMask(view, Proxmox.Utils.getResponseErrorMessage(operation.getError()));
let error = Proxmox.Utils.getResponseErrorMessage(operation.getError());
Proxmox.Utils.setErrorMask(view.down('treeview'), error);
return;
}