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

remove unused input of component

ulferts3272491f31ff
diff --git a/frontend/src/app/modules/ifc_models/ifc-viewer.component.ts b/frontend/src/app/modules/ifc_models/ifc-viewer.component.ts
index beb543d661e..011c5cab5d0 100644
--- a/frontend/src/app/modules/ifc_models/ifc-viewer.component.ts
+++ b/frontend/src/app/modules/ifc_models/ifc-viewer.component.ts
@@ -46,11 +46,7 @@ import {GonService} from "core-app/modules/common/gon/gon.service";
<canvas class="ifc-model-viewer--section-planes-overview-canvas"></canvas>
`
})
-export class IFCViewerComponent implements OnInit, OnDestroy {
- @Input() public ifcModelId:string;
- @Input() public xktFileUrl:string;
- @Input() public metadataFileUrl:string;
-
+export class IFCViewerComponent implements OnInit {
constructor(private Gon:GonService,
private elementRef:ElementRef) {
}
@@ -77,9 +73,6 @@ export class IFCViewerComponent implements OnInit, OnDestroy {
viewerUI.loadProject(this.Gon.get('ifc_models', 'projects') as any [0]["id"]);
});
}
-
- // tslint:disable-next-line:no-empty
- ngOnDestroy():void {}
}
DynamicBootstrapper.register({
selector: 'ifc-viewer', cls: IFCViewerComponent