mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-04 13:50:13 -05:00
fix(table-plugin): i#8965 empty cell values when importing csv files
This commit is contained in:
parent
56465f4a31
commit
d8d071c1aa
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue