diff --git a/pages/index.vue b/pages/index.vue index 2a0121e..b15f2c8 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -104,7 +104,12 @@ export default { return { headings: this.headings, filterable: ['domain_idn'], - perPage: this.sitesData.length + perPage: this.sitesData.length, + rowClassCallback(row) { + console.log('row: ', row); + if(!row.site_info || row.site_info.error) return 'danger'; + // return 'success'; + } } },