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

fix eslint error in using promises

bsatarnejad70bad80fc388
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 135533d82f4..8c8580d163e 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,10 +101,10 @@ export class ActivityPanelBaseController extends UntilDestroyedMixin implements
.subscribe(([wp, notificationCollection]) => {
this.notifications = notificationCollection._embedded.elements;
this.workPackage = wp;
- this.wpActivity.require(this.workPackage).then((activities:any) => {
+ void this.wpActivity.require(this.workPackage).then((activities:any) => {
this.updateActivities(activities);
this.cdRef.detectChanges();
- void this.scrollToUnreadNotification();
+ this.scrollToUnreadNotification();
});
});
}