From d8d071c1aa32eb6809e0c69d97d571874fa53287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Valderrama?= Date: Fri, 18 Oct 2024 09:36:32 +0200 Subject: [PATCH] fix(table-plugin): i#8965 empty cell values when importing csv files --- apps/table-plugin/src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/table-plugin/src/app/app.component.ts b/apps/table-plugin/src/app/app.component.ts index 347f5d4..03c65fc 100644 --- a/apps/table-plugin/src/app/app.component.ts +++ b/apps/table-plugin/src/app/app.component.ts @@ -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: {