prefil date and time [blocker]

This commit is contained in:
romankko2 committed 2023-06-09 16:47:01 +02:00
1 parent 2d7f29e9f4
commit 19a321baa8
6 files changed
+47 -24

No files matched your search

@@ -108,7 +108,12 @@ export default {
//fixnut validacie employee_id
this.blocker = blocker
} else {
this.blocker = { start: null }
this.blocker = {start: null }
if (blocker.starts_at_time && blocker.datepicker) {
this.datepicker = blocker.datepicker
this.starts_at_time = blocker.starts_at_time
}
}
} catch (error) {
this.$toast.error(error)