From aba6189c4faf75f555ffe31e2bcb8df6ac8f1d80 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 27 Oct 2021 13:22:36 +0200 Subject: [PATCH] ui: add protected icon to snapshots if they are protected Signed-off-by: Dominik Csapak Signed-off-by: Wolfgang Bumiller --- www/datastore/Content.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/datastore/Content.js b/www/datastore/Content.js index 5f98653ab..497a96d1e 100644 --- a/www/datastore/Content.js +++ b/www/datastore/Content.js @@ -654,6 +654,13 @@ Ext.define('PBS.DataStoreContent', { xtype: 'treecolumn', header: gettext("Backup Group"), dataIndex: 'text', + renderer: (value, meta, record) => { + let protect = ""; + if (record.data.protected) { + protect = ` `; + } + return value + protect; + }, flex: 1, }, {