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

obey eslint

as-opc8eb1bac0fbf
diff --git a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-export-button.component.ts b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-export-button.component.ts
index 4cb366f7ea6..ffeeadae7ad 100644
--- a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-export-button.component.ts
+++ b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-export-button.component.ts
@@ -107,9 +107,10 @@ export class BcfExportButtonComponent extends UntilDestroyedMixin implements OnI
.get(url, { observe: 'body', responseType: 'json' })
.subscribe(
(json:{ job_id:string }) => this.showJobModal(json.job_id),
- (error) => this.handleError(error),
+ (error:HttpErrorResponse) => this.handleError(error),
);
}
+
private showJobModal(jobId:string) {
this.opModalService.show(JobStatusModalComponent, this.injector, { jobId });
}