Skip to content

Commit

Permalink
feat(list): подсвечены ряды без site_info
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Aug 15, 2018
1 parent 7690242 commit 586bc43
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
}
},
Expand Down

0 comments on commit 586bc43

Please sign in to comment.