ui: add protected icon to snapshots
if they are protected Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
adcc21716b
commit
aba6189c4f
@ -654,6 +654,13 @@ Ext.define('PBS.DataStoreContent', {
|
|||||||
xtype: 'treecolumn',
|
xtype: 'treecolumn',
|
||||||
header: gettext("Backup Group"),
|
header: gettext("Backup Group"),
|
||||||
dataIndex: 'text',
|
dataIndex: 'text',
|
||||||
|
renderer: (value, meta, record) => {
|
||||||
|
let protect = "";
|
||||||
|
if (record.data.protected) {
|
||||||
|
protect = ` <i class="fa fa-shield"></i>`;
|
||||||
|
}
|
||||||
|
return value + protect;
|
||||||
|
},
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user