Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

make a milestone dragable on calendars

bsatarnejad2039338a48fc
diff --git a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts
index e1e8a62d60d..99b35fdf872 100644
--- a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts
+++ b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts
@@ -330,7 +330,8 @@ export class WorkPackagesCalendarComponent extends UntilDestroyedMixin implement
return {
title: workPackage.subject,
start: startDate,
- editable: this.workPackagesCalendar.eventDurationEditable(workPackage),
+ editable: this.workPackagesCalendar.dateEditable(workPackage),
+ durationEditable: this.workPackagesCalendar.eventDurationEditable(workPackage),
end: exclusiveEnd,
allDay: true,
className: `__hl_background_type_${workPackage.type.id || ''}`,