fix(grid): this is defined here, meant to this if this.grid_rows_by_docname was defined
Followup to #27495 Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
09c28f1fd1
commit
7828c51d90
1 changed files with 1 additions and 1 deletions
|
|
@ -790,7 +790,7 @@ export default class Grid {
|
|||
}
|
||||
|
||||
set_value(fieldname, value, doc) {
|
||||
if (this.display_status !== "None" && doc?.name && this?.grid_rows_by_docname[doc.name]) {
|
||||
if (this.display_status !== "None" && doc?.name && this.grid_rows_by_docname?.[doc.name]) {
|
||||
this.grid_rows_by_docname[doc.name].refresh_field(fieldname, value);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue