diff --git a/templates/new_workout.html b/templates/new_workout.html index 94e4ef7..e198fc4 100644 --- a/templates/new_workout.html +++ b/templates/new_workout.html @@ -492,6 +492,7 @@ heartRateData = [...heartRateData, { timestamp: new Date(), bpm: currentHeartRate }]; console.log('currentHeartRate:', currentHeartRate); heartDisplay.innerText = currentHeartRate; + updateGraph(); } function heartRateMonitorConnect() {