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

fix(lint): obey eslint

as-op30a7cda10441
diff --git a/frontend/src/app/shared/components/modals/export-modal/wp-table-export.modal.ts b/frontend/src/app/shared/components/modals/export-modal/wp-table-export.modal.ts
index c0c4684c114..665a33382a0 100644
--- a/frontend/src/app/shared/components/modals/export-modal/wp-table-export.modal.ts
+++ b/frontend/src/app/shared/components/modals/export-modal/wp-table-export.modal.ts
@@ -89,6 +89,7 @@ export class WpTableExportModalComponent extends OpModalComponent implements OnI
],
},
};
+
public ganttFieldsArray = Object.values(this.ganttFields);
public text = {
@@ -164,9 +165,7 @@ export class WpTableExportModalComponent extends OpModalComponent implements OnI
exportGantt(event:MouseEvent):void {
event.preventDefault();
if (this.ganttOption) {
- this.requestExport(
- this.addGanttOptionsToHref(this.ganttOption.url)
- );
+ this.requestExport(this.addGanttOptionsToHref(this.ganttOption.url));
}
}