[blocker] employee prefill, [unscheduled] deadline

This commit is contained in:
romankko2 committed 2023-08-08 20:06:47 +02:00
1 parent 4163580fd6
commit a2fb04d3b2
5 files changed
+24 -4

No files matched your search

@@ -64,7 +64,8 @@ export default {
blocker: null,
datepicker: null,
starts_at_time: null,
ends_at_time: null
ends_at_time: null,
employee: null
}
},
@@ -112,9 +113,10 @@ export default {
} else {
this.blocker = {start: null }
if (blocker.starts_at_time && blocker.datepicker) {
if (blocker.starts_at_time && blocker.datepicker && blocker.employee_id) {
this.datepicker = blocker.datepicker
this.starts_at_time = blocker.starts_at_time
this.blocker.employee_id = blocker.employee_id
}
}
} catch (error) {