Skip to content

Commit

Permalink
fix my spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
huss committed Aug 17, 2023
1 parent 5fe0d2c commit 2d3edc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/app/utils/exportData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function convertToCSV(readings: LineReading[] | BarReading[], meter: string, uni
const startTimeStamp = moment.utc(reading.startTimestamp).format('YYYY-MM-DD HH:mm:ss');
const endTimeStamp = moment.utc(reading.endTimestamp).format('YYYY-MM-DD HH:mm:ss');
csvOutput += `${value},${startTimeStamp},${endTimeStamp}`;
// Include min and max in export if appropraite."
// Include min and max in export if appropriate."
if (showMinMax) {
const min = reading.min * scaling;
const max = reading.max * scaling;
Expand Down Expand Up @@ -123,4 +123,4 @@ export function downloadRawCSV(readings: RawReadings[], meter: string, unit: str
const filename = `oedRawExport_line_${startTime}_to_${endTime}_for_${meter}.csv`;
downloadCSV(csvOutput, filename);
}
}
}

0 comments on commit 2d3edc9

Please sign in to comment.