feat: replace our home-grown gantt implementation with ganttastic #2180

Merged
konrad merged 78 commits from feature/ganttastic into main 2022-10-27 16:03:27 +00:00
Showing only changes of commit 6975a2b286 - Show all commits

View File

@ -185,11 +185,11 @@ async function updateTask(e) {
task.startDate = e.bar.startDate
task.endDate = e.bar.endDate
const r = await taskService.value.update(task)
for (const i in ganttBars.value) {
ganttBars.value.forEach((el, i) => {
if (ganttBars.value[i][0].ganttBarConfig.id === task.id) {
ganttBars.value[i] = transformTaskToGanttBar(r)
}
}
})
}
const newTaskFieldActive = ref(false)