improved loading of selected date
This commit is contained in:
parent
5f02e23f51
commit
ea5e626e8a
@ -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([])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user