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

[#39144] fixed linter issues

Eric Schubert7ac8488ced5f
diff --git a/frontend/src/app/features/bim/bcf/bcf-wp-attribute-group/bcf-new-wp-attribute-group.component.ts b/frontend/src/app/features/bim/bcf/bcf-wp-attribute-group/bcf-new-wp-attribute-group.component.ts
index 2d2d4c02b36..a1b92f54fd3 100644
--- a/frontend/src/app/features/bim/bcf/bcf-wp-attribute-group/bcf-new-wp-attribute-group.component.ts
+++ b/frontend/src/app/features/bim/bcf/bcf-wp-attribute-group/bcf-new-wp-attribute-group.component.ts
@@ -116,7 +116,7 @@ export class BcfNewWpAttributeGroupComponent extends BcfWpAttributeGroupComponen
return this.createAllowed && this.viewerVisible;
}
- protected actions():{ icon:string, onClick:(evt:any, index:number) => void, titleText:string }[] {
+ protected actions():{ icon:string, onClick:(evt:unknown, index:number) => void, titleText:string }[] {
// Show only delete button
return super
.actions()
diff --git a/frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.service.ts b/frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.service.ts
index 774251e749e..73ea4b77d49 100644
--- a/frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.service.ts
+++ b/frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.service.ts
@@ -124,10 +124,6 @@ export class IFCViewerService extends ViewerBridgeService {
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
const viewerUI = new BIMViewer(server, elements) as BimViewer;
- viewerUI.on('queryPicked', (event:{ objectName:string, objectType:string, objectId:string }) => {
- alert(`IFC Name = "${event.objectName}"\nIFC class = "${event.objectType}"\nIFC GUID = ${event.objectId}`);
- });
-
viewerUI.on('modelLoaded', () => this.viewerVisible$.next(true));
viewerUI.loadProject(projects[0].id);