ui: datastore/Content: add empty text for no snapshots

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-10-01 11:56:55 +02:00 committed by Dietmar Maurer
parent 747446eb50
commit ae9b5c077a

View File

@ -261,6 +261,10 @@ Ext.define('PBS.DataStoreContent', {
children: children,
});
if (!children.length) {
view.setEmptyText(gettext('No Snapshots found'));
}
this.updateGroupNotes(view);
if (selected !== undefined) {