Skip to content

Commit

Permalink
fix negative csv value display to remove leading character
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcui1225 authored and zhongnansu committed Jul 1, 2021
1 parent 52cb963 commit 0e26da7
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 0e26da7

Please sign in to comment.