Skip to content

Commit

Permalink
fix(grid row): fix prettier hook check
Browse files Browse the repository at this point in the history
(cherry picked from commit 60a5dc8)
  • Loading branch information
AHasanin authored and mergify[bot] committed Apr 10, 2023
1 parent 558f908 commit 9309687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/form/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ export default class Grid {
// update the parent too (for new rows)
this.docfields.find(d => d.fieldname === fieldname)[property] = value;

if ( this.user_defined_columns && this.user_defined_columns.length > 0 ){
if (this.user_defined_columns && this.user_defined_columns.length > 0) {
this.user_defined_columns.find((d) => d.fieldname === fieldname)[property] = value;
}

Expand Down

0 comments on commit 9309687

Please sign in to comment.