update js dependencies
This commit is contained in:
@ -51,7 +51,7 @@
|
||||
const { sports, user } = toRefs(props)
|
||||
const dateFormat = 'yyyy-MM-dd'
|
||||
const day = ref(new Date())
|
||||
const calendarDates = ref(getCalendarStartAndEnd(day.value, props.user.weekm))
|
||||
const calendarDates = ref(getCalendarStartAndEnd(day.value, user.value.weekm))
|
||||
const calendarWorkouts: ComputedRef<IWorkout[]> = computed(
|
||||
() => store.getters[WORKOUTS_STORE.GETTERS.CALENDAR_WORKOUTS]
|
||||
)
|
||||
|
@ -36,7 +36,7 @@
|
||||
start: startOfMonth(date),
|
||||
end: endOfMonth(date),
|
||||
}
|
||||
const selectedSportIds = props.sports.map((sport) => sport.id)
|
||||
const selectedSportIds = sports.value.map((sport) => sport.id)
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
Reference in New Issue
Block a user