fix correct datetimes in jobslots when change event start
This commit is contained in:
parent
7b1e37b3a7
commit
084ad8f945
|
@ -299,6 +299,7 @@ export default defineComponent({
|
|||
const diff = newValue.getTime() - oldValue.getTime();
|
||||
event.value?.jobs.forEach((job) => {
|
||||
job.start.setTime(job.start.getTime() + diff);
|
||||
job.end?.setTime(job.end.getTime() + diff);
|
||||
});
|
||||
computed_end.value?.setTime(computed_end.value?.getTime() + diff);
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Reference in New Issue