Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fix: setting up contentForEmptyCells option for existing columns
Browse files Browse the repository at this point in the history
  • Loading branch information
Patryk-Rozwadowski committed Feb 1, 2022
1 parent b23402f commit f38710a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/phases/parseData/ParseData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ class ParseData extends PhasesState {
);

const existingHeaderInAcc = columnsAccumulator[headerIndexInAcc];
existingHeaderInAcc.cells.push(singleCellValuesForHeader);
existingHeaderInAcc.cells.push(
singleCellValuesForHeader || lbOptions.getOptions().contentForEmptyCells
);
}

/**
Expand Down

0 comments on commit f38710a

Please sign in to comment.