Skip to content

Commit

Permalink
fix(table-plugin): i#8965 empty cell values when importing csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
mavalroot committed Oct 18, 2024
1 parent 56465f4 commit d8d071c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/table-plugin/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class AppComponent {
?.split(/\r?\n|\r|\n/g)
.map((it) => it.trim())
.filter((it) => it !== '')
.map((it) => it.split(','));
.map((it) => it.split(',').map((it) => (!it ? ' ' : it.trim())));

this.sendMessage({
content: {
Expand Down

0 comments on commit d8d071c

Please sign in to comment.