indicate new record in parent table (#406)
parent
20dfa472b1
commit
b45740e3a3
|
@ -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 ''
|
||||
|
|
Loading…
Reference in New Issue