diff options
Diffstat (limited to 'sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx')
-rw-r--r-- | sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx index 52b5ddb58..3240f73f1 100644 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx +++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx @@ -69,7 +69,7 @@ export const lineChart = (chartPagedData: IDataSetsObject) => { export const sortDataByTimeStamp = <T extends ITimeStamp>(_rows: T[]): T[] => { return (_rows.sort((a, b) => { - const result = Date.parse(a["utcTimeStamp"]) - Date.parse(b["utcTimeStamp"]); + const result = Date.parse(a["timeStamp"]) - Date.parse(b["timeStamp"]); return isNaN(result) ? 0 : result; })); }
\ No newline at end of file |