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 linting issues

Henriette Darged44ed5f1ab96
diff --git a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts
index 9dd1f44eb09..9d0570947f0 100644
--- a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts
+++ b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts
@@ -7,7 +7,6 @@ import { timer, combineLatest } from 'rxjs';
import {
filter,
switchMap,
- tap,
map,
} from 'rxjs/operators';
import { ActiveWindowService } from 'core-app/core/active-window/active-window.service';
@@ -30,7 +29,6 @@ const POLLING_INTERVAL = 10000;
export class InAppNotificationBellComponent implements OnInit {
polling$ = timer(10, POLLING_INTERVAL).pipe(
filter(() => this.activeWindow.isActive),
- tap(() => console.log('sending fetch request from bell')),
switchMap(() => this.inAppService.fetchNotifications()),
);
diff --git a/frontend/src/app/features/in-app-notifications/store/in-app-notifications.service.ts b/frontend/src/app/features/in-app-notifications/store/in-app-notifications.service.ts
index 41b4cc26ab2..bfb993c4010 100644
--- a/frontend/src/app/features/in-app-notifications/store/in-app-notifications.service.ts
+++ b/frontend/src/app/features/in-app-notifications/store/in-app-notifications.service.ts
@@ -6,7 +6,7 @@ import {
tap,
catchError,
} from 'rxjs/operators';
-import { Subscription } from 'rxjs';
+import { Subscription, Observable } from 'rxjs';
import { applyTransaction, ID, setLoading } from '@datorama/akita';
import { ApiV3ListFilter } from 'core-app/core/apiv3/paths/apiv3-list-resource.interface';
import { APIV3Service } from 'core-app/core/apiv3/api-v3.service';
@@ -15,7 +15,6 @@ import { InAppNotificationsQuery } from 'core-app/features/in-app-notifications/
import { HalResource } from 'core-app/features/hal/resources/hal-resource';
import { InAppNotificationsStore } from './in-app-notifications.store';
import { InAppNotification } from './in-app-notification.model';
-import { Observable } from 'rxjs';
import { IHALCollection } from 'core-app/core/apiv3/types/hal-collection.type';
@Injectable()