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-op149ad49db582
diff --git a/frontend/src/app/core/setup/globals/components/admin/backup.component.ts b/frontend/src/app/core/setup/globals/components/admin/backup.component.ts
index 97822738d4f..7ef850133cb 100644
--- a/frontend/src/app/core/setup/globals/components/admin/backup.component.ts
+++ b/frontend/src/app/core/setup/globals/components/admin/backup.component.ts
@@ -115,7 +115,7 @@ export class BackupComponent implements AfterViewInit {
.subscribe(
(resp:HalResource) => {
this.jobStatusId = resp.jobStatusId as string;
- this.jobStatusModalService.show(resp.jobStatusId);
+ this.jobStatusModalService.show(resp.jobStatusId as string);
},
(error:HalError) => {
this.toastService.addError(error.message);
diff --git a/frontend/src/app/features/projects/components/copy-project/copy-project.component.ts b/frontend/src/app/features/projects/components/copy-project/copy-project.component.ts
index 59dfd6daa73..b7240765b93 100644
--- a/frontend/src/app/features/projects/components/copy-project/copy-project.component.ts
+++ b/frontend/src/app/features/projects/components/copy-project/copy-project.component.ts
@@ -58,7 +58,7 @@ export class CopyProjectComponent extends UntilDestroyedMixin implements OnInit
}
onSubmitted(response:HalSource) {
- this.jobStatusModalService.show(response.jobId);
+ this.jobStatusModalService.show(response.jobId as string);
}
private isHiddenField(key:string|undefined):boolean {
diff --git a/frontend/src/app/features/projects/components/new-project/new-project.component.ts b/frontend/src/app/features/projects/components/new-project/new-project.component.ts
index c4c0b6f3b1c..a5e3b58b0ba 100644
--- a/frontend/src/app/features/projects/components/new-project/new-project.component.ts
+++ b/frontend/src/app/features/projects/components/new-project/new-project.component.ts
@@ -107,7 +107,7 @@ export class NewProjectComponent extends UntilDestroyedMixin implements OnInit {
onSubmitted(response:HalSource) {
if (response._type === 'JobStatus') {
- this.jobStatusModalService.show(response.jobId);
+ this.jobStatusModalService.show(response.jobId as string);
} else {
window.location.href = this.pathHelperService.projectPath(response.identifier as string);
}