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

Don't provide TeleportationService twice

Oliver Günther9edcf4d0a867
diff --git a/frontend/src/app/spot/components/drop-modal/drop-modal-teleportation.service.ts b/frontend/src/app/spot/components/drop-modal/drop-modal-teleportation.service.ts
index e6111e376fe..35fd03ff518 100644
--- a/frontend/src/app/spot/components/drop-modal/drop-modal-teleportation.service.ts
+++ b/frontend/src/app/spot/components/drop-modal/drop-modal-teleportation.service.ts
@@ -2,7 +2,10 @@ import {
Injectable,
TemplateRef,
} from '@angular/core';
-import { BehaviorSubject, Subject } from 'rxjs';
+import {
+ BehaviorSubject,
+ Subject,
+} from 'rxjs';
import { distinctUntilChanged } from 'rxjs/operators';
export type TeleportInstance = TemplateRef<any>;
diff --git a/frontend/src/app/spot/spot.module.ts b/frontend/src/app/spot/spot.module.ts
index 2645e63dd65..4ee4ec6b1eb 100644
--- a/frontend/src/app/spot/spot.module.ts
+++ b/frontend/src/app/spot/spot.module.ts
@@ -31,7 +31,6 @@ import { SpotDropModalPortalComponent } from './components/drop-modal/drop-modal
providers: [
I18nService,
- SpotDropModalTeleportationService,
],
declarations: [