diff --git a/src/pages/workouts/components/WorkoutItem.vue b/src/pages/workouts/components/WorkoutItem.vue index b396029..9e75809 100644 --- a/src/pages/workouts/components/WorkoutItem.vue +++ b/src/pages/workouts/components/WorkoutItem.vue @@ -737,7 +737,6 @@ const buildChartOptions = ( const d3 = new Date(labels[i] as string); if (start === 0 && i !== 0 && d3 > d1) { start = i; - break; } if (d3 > d2) { end = i; @@ -748,7 +747,6 @@ const buildChartOptions = ( for (let i = 0; i < labels.length; i++) { if (i !== 0 && Number(labels[i]) > min) { start = i; - break; } if (Number(labels[i]) > max) { end = i;