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

use hal resource array instead of any

bsatarnejad2bfca2d3b0f9
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/activity-panel/activity-base.controller.ts b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/activity-panel/activity-base.controller.ts
index 8c8580d163e..3ad616d2189 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/activity-panel/activity-base.controller.ts
+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/activity-panel/activity-base.controller.ts
@@ -101,7 +101,7 @@ export class ActivityPanelBaseController extends UntilDestroyedMixin implements
.subscribe(([wp, notificationCollection]) => {
this.notifications = notificationCollection._embedded.elements;
this.workPackage = wp;
- void this.wpActivity.require(this.workPackage).then((activities:any) => {
+ void this.wpActivity.require(this.workPackage).then((activities:HalResource[]) => {
this.updateActivities(activities);
this.cdRef.detectChanges();
this.scrollToUnreadNotification();