add ignore non-working days while selecting a date on calendar

feature/43638-update-team-planner-and-calendar-for-duration-and-non-working-days-rebased
bsatarnejad 2 years ago
parent 50e6e5480c
commit 050d4d145f
  1. 3
      frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts

@ -771,7 +771,7 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
'document:teamPlannerSelectDate',
['$event.detail.start', '$event.detail.end', '$event.detail.assignee'],
)
openNewSplitCreate(start:string, end:string, resourceHref:string):void {
openNewSplitCreate(start:string, end:string, resourceHref:string, nonWorkingDays:boolean):void {
const defaults = {
startDate: start,
dueDate: end,
@ -780,6 +780,7 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
href: resourceHref,
},
},
nonWorkingDays,
};
void this.$state.go(

Loading…
Cancel
Save