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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fixing TypeScript errors and adopting explanation
Wieland Lindenthald6c804aec690
diff --git a/frontend/src/app/modules/grids/widgets/project-status/project-status.component.ts b/frontend/src/app/modules/grids/widgets/project-status/project-status.component.tsindex 80482880a96..5b502f02443 100644--- a/frontend/src/app/modules/grids/widgets/project-status/project-status.component.ts+++ b/frontend/src/app/modules/grids/widgets/project-status/project-status.component.ts@@ -54,7 +54,7 @@ export const emptyPlaceholder = '-';export class WidgetProjectStatusComponent extends AbstractWidgetComponent implements OnInit {@ViewChild('contentContainer', { static: true }) readonly contentContainer:ElementRef;- public currentStatusCode:String = 'not_set';+ public currentStatusCode:string = 'not_set';public explanation:String = '';public availableStatuses:any = {on_track: this.i18n.t('js.grid.widgets.project_status.on_track'),@@ -88,7 +88,7 @@ export class WidgetProjectStatusComponent extends AbstractWidgetComponent implem.then(([project, schema]) => {if (project.status) {this.currentStatusCode = project.status.code;- this.explanation = project.status.explanation;+ this.explanation = project.status.explanation.html;} else {this.currentStatusCode = 'not_set';this.explanation = '';