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

Commit

Permalink
Merge pull request #368 from davidcui-amzn/fix-negative-csv-value
Browse files Browse the repository at this point in the history
fix negative csv value display to remove leading character
  • Loading branch information
davidcui1225 authored May 17, 2021
2 parents 327ee4e + 5316d17 commit c336804
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 c336804

Please sign in to comment.