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

[chore] fix linter issues

Eric Schubertcc43840ea8bd
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view/wp-single-view.component.ts b/frontend/src/app/features/work-packages/components/wp-single-view/wp-single-view.component.ts
index 16d071ab8c5..c2f672a9e55 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view/wp-single-view.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-single-view/wp-single-view.component.ts
@@ -220,8 +220,8 @@ export class WorkPackageSingleViewComponent extends UntilDestroyedMixin implemen
this.updateWorkPackageCreationState(change);
}
- const attributeGroups = this.schema(resource)._attributeGroups;
- this.groupedFields = this.rebuildGroupedFields(change, attributeGroups);
+ // eslint-disable-next-line no-underscore-dangle
+ this.groupedFields = this.rebuildGroupedFields(change, this.schema(resource)._attributeGroups) as GroupDescriptor[];
this.cdRef.detectChanges();
}