]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: datastore/Content: add empty text for no snapshots
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 1 Oct 2021 09:56:55 +0000 (11:56 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 4 Oct 2021 08:28:10 +0000 (10:28 +0200)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/datastore/Content.js

index ddc923fd6ae11cd9f5f24160f4aad86d90a0eca7..87a9079dfa81bb518c11dd6629690e0c06803a2f 100644 (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) {