fix eslint error in using promises

pull/9606/head
bsatarnejad 3 years ago
parent f2337f29aa
commit 70bad80fc3
  1. 4
      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();
});
});
}

Loading…
Cancel
Save