You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a feature using the SvelteGanttDependencies module, and I'm encountering an unexpected issue related to the reactive update of the tasks, especially whiles using dependencies.
As seen in the image below I defined a dependency between two tasks. And in the top left corner I have a select box that allows me to switch from one project to the other. The issue here is that when updating the options object of the svelte gantt component and updating the rows and the tasks based on the newly choosen project I get the following error in my browser console.
Uncaught (in promise) TypeError: fromTask is undefined
update Dependency.svelte:18
update scheduler.js:115
flush scheduler.js:79
As far as my research goes this trackes back to the following code snippet.
Below you find screenshots of what I see when switching from one project to the other: Project 1:
Project 2:
Note that the previous dependency stays in the gantt although no dependencies are present in Project 2.
(Don't mind the arrow icons of the tree view not loading, I am using a depracated fontawesome version)
The text was updated successfully, but these errors were encountered:
Hi there,
I'm currently working on a feature using the SvelteGanttDependencies module, and I'm encountering an unexpected issue related to the reactive update of the tasks, especially whiles using dependencies.
As seen in the image below I defined a dependency between two tasks. And in the top left corner I have a select box that allows me to switch from one project to the other. The issue here is that when updating the options object of the svelte gantt component and updating the rows and the tasks based on the newly choosen project I get the following error in my browser console.
As far as my research goes this trackes back to the following code snippet.
Below you find screenshots of what I see when switching from one project to the other:
Project 1:
Project 2:
Note that the previous dependency stays in the gantt although no dependencies are present in Project 2.
(Don't mind the arrow icons of the tree view not loading, I am using a depracated fontawesome version)
The text was updated successfully, but these errors were encountered: