This commit is contained in:
Jan Prochazka
2021-01-23 07:24:46 +01:00
parent 451af5d09f
commit b9cb8c3a45
22 changed files with 127 additions and 129 deletions

View File

@@ -21,15 +21,15 @@ export class FreeTableGridDisplay extends GridDisplay {
getDisplayColumns(model: FreeTableModel) {
return (
model?.structure?.columns
?.map((col) => this.getDisplayColumn(col))
?.map((col) => ({
?.map(col => this.getDisplayColumn(col))
?.map(col => ({
...col,
isChecked: this.isColumnChecked(col),
})) || []
);
}
getDisplayColumn( col: ColumnInfo) {
getDisplayColumn(col: ColumnInfo) {
const uniquePath = [col.columnName];
const uniqueName = uniquePath.join('.');
return {