Small visual fixes
This commit is contained in:
parent
566fc90249
commit
cc59701337
1 changed files with 1 additions and 2 deletions
|
|
@ -170,8 +170,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
// Reverse data to show chronologically
|
||||
data = data.reverse();
|
||||
// Data is already in chronological order from backend (oldest to newest)
|
||||
|
||||
const dates = data.map(d => new Date(d.date).toLocaleDateString());
|
||||
const tss = data.map(d => d.trainingStressScore || 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue