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:
parent
a93c96823c
commit
069720f510
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue