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

Remove dead code

Oliver Günther8326291750fd
diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
index 06ed5baf350..b2d1083afeb 100644
--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
@@ -635,35 +635,11 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
}, 500);
}
- renderTemplate(template:TemplateRef<unknown>, id:string, data:ResourceLabelContentArg|EventContentArg):{ domNodes:unknown[] } {
- if (this.isDraggedEvent(id)) {
- this.viewLookup.markForDestruction(id);
- }
-
- const ref = this.viewLookup.getView(template, id, data);
- return { domNodes: ref.rootNodes };
- }
-
- unrenderTemplate(id:string):void {
- this.viewLookup.markForDestruction(id);
- }
-
isDraggedEvent(id:string):boolean {
const dragging = this.draggingItem$.getValue();
return !!dragging && (dragging.event.extendedProps?.workPackage as undefined|WorkPackageResource)?.href === id;
}
- eventId(data:EventContentArg):string {
- return [
- data.event.id,
- data.event.start?.toISOString(),
- data.event.end?.toISOString(),
- data.timeText,
- `dragging=${data.isDragging.toString()}`,
- `resizing=${data.isResizing.toString()}`,
- ].join('-');
- }
-
public showAssigneeAddRow():void {
this.showAddAssignee$.next(true);
this.ucCalendar.getApi().refetchEvents();