Merge pull request #19207 from rohitwaghchaure/fixed-child-tables-not-working
fix: child table not working
This commit is contained in:
commit
2a5d076798
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue