Skip to content

Commit

Permalink
selection.grid.BaseModel: get dataFields() => use more descriptive va…
Browse files Browse the repository at this point in the history
…rs (they will get minified anyway)
  • Loading branch information
tobiu committed Jan 28, 2025
1 parent ff5d746 commit be48244
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/selection/grid/BaseModel.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class BaseModel extends Model {
* @member {String[]} dataFields
*/
get dataFields() {
return this.view.parent.columns.map(c => c.dataField)
return this.view.parent.columns.map(column => column.dataField)
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/selection/table/BaseModel.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class BaseModel extends Model {
* @member {String[]} dataFields
*/
get dataFields() {
return this.view.parent.columns.map(c => c.dataField)
return this.view.parent.columns.map(column => column.dataField)
}
}

Expand Down

0 comments on commit be48244

Please sign in to comment.