indicate new record in parent table (#406)

pull/3759/head
elsiosanchez 2020-03-16 19:05:12 -04:00 committed by GitHub
parent 20dfa472b1
commit b45740e3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ export default {
this.getterDataRecords.shift()
},
tableRowClassName({ row, rowIndex }) {
if (row.isNew && this.isEmptyValue(row.Created)) {
if (row.isNew && rowIndex === 0) {
return 'warning-row'
}
return ''