diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js index d23f2ef1..c3bf2b18 100644 --- a/www/DataStoreContent.js +++ b/www/DataStoreContent.js @@ -209,6 +209,7 @@ Ext.define('PBS.DataStoreContent', { group.files = item.files; group.size = item.size; group.owner = item.owner; + verify.lastFailed = item.verification && item.verification.state !== 'ok'; } if (item.verification && (!group.verification || group.verification.state !== 'failed')) { @@ -461,6 +462,15 @@ Ext.define('PBS.DataStoreContent', { }, }, + viewConfig: { + getRowClass: function(record, index) { + let verify = record.get('verification'); + if (verify && verify.lastFailed) { + return 'proxmox-invalid-row'; + } + }, + }, + columns: [ { xtype: 'treecolumn',