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
Describe the bug
This error only happens to the year view and the rest of the views are not throwing the Error: Cannot read properties of null (reading 'getFullYear') error. In general, the Task required the start and end date, but we can avoid throwing the error in the year view.
Another side effect is due to the error the year view tasks rendering is also breaking:
Describe the bug
This error only happens to the year view and the rest of the views are not throwing the
Error: Cannot read properties of null (reading 'getFullYear')
error. In general, the Task required the start and end date, but we can avoid throwing the error in the year view.Another side effect is due to the error the year view tasks rendering is also breaking:
To Reproduce
Open the following example and choose the year view from the dropdown options:
https://stackblitz.com/edit/angular-rbzrjk?file=src%2Fapp%2Fhierarchical-data.ts,src%2Fapp%2Fapp.module.ts
Check the console for the error and you can change to other views to see that the error isn't present.
Expected behavior
The error to not be thrown and the tasks to render like the rest of the views. The error can be exchanged for a warning message.
Screen recording*
Year view breaking the task rendering:
Screen.Recording.2024-05-17.at.11.39.09.mov
The text was updated successfully, but these errors were encountered: