Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

fix negative csv value display to remove leading character #368

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kibana-reports/server/routes/utils/dataReportHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function sanitize(doc: any) {
continue
if (
doc[field].toString().startsWith('+') ||
doc[field].toString().startsWith('-') ||
(doc[field].toString().startsWith('-') && typeof doc[field] !== "number") ||
doc[field].toString().startsWith('=') ||
doc[field].toString().startsWith('@')
) {
Expand Down