support icon indicating copy to clipboard operation
support copied to clipboard

ResourceHistogram w/ NonWorkingTime feature changes project default calendar intervals

Open arcady-zherdev opened this issue 6 months ago • 0 comments

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.

arcady-zherdev avatar Aug 13 '24 08:08 arcady-zherdev