#157 - more interactive calendar #162

Merged
kamilniemczycki merged 20 commits from #157-expansion-calendar into main 2022-06-08 11:02:38 +02:00
Showing only changes of commit ea5e626e8a - Show all commits

View File

@@ -352,12 +352,14 @@ const form = useForm({
? props.users.data.find(user => user.id === (props.userId ?? props.auth.user.id)) ?? props.users.data[0] ? props.users.data.find(user => user.id === (props.userId ?? props.auth.user.id)) ?? props.users.data[0]
: props.auth.user, : props.auth.user,
from: props.vacationStartDate, from: props.vacationStartDate,
to: null, to: props.vacationStartDate,
vacationType: null, vacationType: null,
comment: null, comment: null,
flowSkipped: false, flowSkipped: false,
}) })
refreshEstimatedDays(form.from, form.to)
const estimatedDays = ref([]) const estimatedDays = ref([])
const vacationTypes = ref([]) const vacationTypes = ref([])