Skip to content

Commit

Permalink
Merge pull request #26448 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-26446

fix(grid_row): don't crash when undefined (backport #26446)
  • Loading branch information
akhilnarang committed May 16, 2024
2 parents 6b25854 + 0f91073 commit 267bfbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/form/controls/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ frappe.ui.form.ControlTable = class ControlTable extends frappe.ui.form.Control
get_field(field_name) {
let fieldname;
field_name = field_name.toLowerCase();
this.grid.meta.fields.some((field) => {
this.grid?.meta?.fields.some((field) => {
if (frappe.model.no_value_type.includes(field.fieldtype)) {
return false;
}
Expand Down

0 comments on commit 267bfbc

Please sign in to comment.