From ae9b5c077ab961d9931382298df4d8841ff731f6 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 1 Oct 2021 11:56:55 +0200 Subject: [PATCH] ui: datastore/Content: add empty text for no snapshots Signed-off-by: Dominik Csapak --- www/datastore/Content.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/datastore/Content.js b/www/datastore/Content.js index ddc923fd..87a9079d 100644 --- a/www/datastore/Content.js +++ b/www/datastore/Content.js @@ -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) {