diff --git a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutData.vue b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutData.vue index 1bb68b2d..f032ab7d 100644 --- a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutData.vue +++ b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutData.vue @@ -87,7 +87,10 @@ :useImperialUnits="useImperialUnits" /> - + diff --git a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutWeather.vue b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutWeather.vue index 8cd94471..5477b42c 100644 --- a/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutWeather.vue +++ b/fittrackee_client/src/components/Workout/WorkoutDetail/WorkoutWeather.vue @@ -89,8 +89,26 @@ :title="$t(`workouts.WEATHER.WIND`)" /> - {{ Number(workoutObject.weatherStart.wind).toFixed(1) }}m/s - {{ Number(workoutObject.weatherEnd.wind).toFixed(1) }}m/s + + + {{ useImperialUnits ? 'ft' : 'm' }}/s + + + + {{ useImperialUnits ? 'ft' : 'm' }}/s + @@ -104,10 +122,11 @@ interface Props { workoutObject: IWorkoutObject + useImperialUnits: boolean } const props = defineProps() - const { workoutObject } = toRefs(props) + const { useImperialUnits, workoutObject } = toRefs(props)