Client - display only active sports (+ workout sport) on workout edition

fix #129
This commit is contained in:
Sam
2022-01-01 18:33:06 +01:00
parent f8df393d2d
commit be0ac9b238
17 changed files with 143 additions and 61 deletions

View File

@ -267,8 +267,8 @@
translateSports(
props.sports,
t,
true,
workout.value.id ? [workout.value.sport_id] : null
'is_active_for_user',
workout.value.id ? [workout.value.sport_id] : []
)
)
const appConfig: ComputedRef<TAppConfig> = computed(