Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(table-plugin): i#8965 empty cell values when importing csv files #168

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

mavalroot
Copy link
Contributor

@mavalroot mavalroot commented Oct 18, 2024

#8965 [PLUGINS][Table plugin] Empty cell values when importing CSV files

@mavalroot mavalroot requested a review from Xaviju October 18, 2024 07:43
@@ -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())));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following previous operations structure and just for visual clarity, shouldn't this last map() operation go in a newline?

@mavalroot mavalroot merged commit d8d071c into main Oct 18, 2024
2 checks passed
@mavalroot mavalroot deleted the fix/8965-table-empty-cells branch October 18, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants