Skip to content

Commit

Permalink
fix: don't skip when there are no expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
iyxan23 committed Sep 13, 2024
1 parent 2164487 commit dc75260
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sheet/sheet-templater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,6 @@ export class SheetTemplater<SheetT extends TemplatableCell, RowInfo, ColInfo> {
if (!cell) continue;

const expressionCell = parseExpressionCell(cell.getTextContent());
// skip if there are no expressions
if (!expressionCell.some((c) => typeof c === "object")) continue;

expressionSheet.setCell(c, r, [expressionCell, cell]);
}
}
Expand Down

0 comments on commit dc75260

Please sign in to comment.