support
support copied to clipboard
ResourceHistogram w/ NonWorkingTime feature changes project default calendar intervals
ResourceHistogram
w/ NonWorkingTime
feature enabled changes project default calendar intervals. The feature adds weekends as non working time.
That code is not supposed to work for SchedulerPro/Gantt dataset it was made for basic Scheduler. The reason is this check in NonWorkingTimeMixin
class:
if (
// Might have been set up by NonWorkingTime / EventNonWorkingTime already
!this.autoGeneratedWeekends &&
// For basic scheduler...
!client.isSchedulerPro &&
!client.isGantt &&
Instead of checking view type it should check project
type.