svelte-gantt
svelte-gantt copied to clipboard
TypeError: Cannot read properties of undefined (reading 'model') when updating rows and tasks
I am encountering an issue when updating the rows and tasks in svelte-gantt version "^4.3.2". I receive the following error:
TypeError: Cannot read properties of undefined (reading 'model')
Here is a screenshot of my rows and tasks data:
I am using the method gantt.set({ rows, tasks }) to update the data.