From 069720f51027e184678636ac5c857892fcf16538 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 27 May 2022 16:05:07 +0200 Subject: [PATCH] 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 --- www/datastore/Content.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/datastore/Content.js b/www/datastore/Content.js index 1e5315c3..0d45176e 100644 --- a/www/datastore/Content.js +++ b/www/datastore/Content.js @@ -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; }