diff --git a/src/selection/grid/BaseModel.mjs b/src/selection/grid/BaseModel.mjs index cd8b7fd72..c6a65120e 100644 --- a/src/selection/grid/BaseModel.mjs +++ b/src/selection/grid/BaseModel.mjs @@ -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) } } diff --git a/src/selection/table/BaseModel.mjs b/src/selection/table/BaseModel.mjs index 2fce302f0..5219e3eda 100644 --- a/src/selection/table/BaseModel.mjs +++ b/src/selection/table/BaseModel.mjs @@ -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) } }