fix: child table not working

This commit is contained in:
Rohit Waghchaure 2022-12-08 19:23:33 +05:30
parent 77ce90dc63
commit 95802f4a84

View file

@ -656,7 +656,7 @@ export default class GridRow {
this.grid.visible_columns.forEach((col, ci) => {
// to get update df for the row
let df = fields.find((field) => field.fieldname === col[0].fieldname);
let df = fields.find((field) => field?.fieldname === col[0].fieldname);
this.set_dependant_property(df);
@ -1360,7 +1360,7 @@ export default class GridRow {
: this.docfields;
let df = fields.find((col) => {
return col.fieldname === fieldname;
return col?.fieldname === fieldname;
});
// format values if no frm