ui: tape/BackupOverview: show mediaset loading error in msg box instead

if a catalog is missing (or the loading otherwise throws an error), show
the error message in a msg box instead of a mask. this way a user can
still navigate the tree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-02-16 09:35:26 +01:00 committed by Dietmar Maurer
parent 8a73ef897a
commit 002865405c

View File

@ -148,7 +148,8 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
Proxmox.Utils.setErrorMask(view, false);
node.expand();
} catch (error) {
Proxmox.Utils.setErrorMask(view, error.toString());
Proxmox.Utils.setErrorMask(view, false);
Ext.Msg.alert('Error', error.toString());
}
},