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
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ Ext.define('PBS.DataStoreContent', {
let view = this.getView(); let view = this.getView();
if (!success) { 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; return;
} }