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
Fix one more eslint warning
Christophe Bliard21524962ca27
diff --git a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.tsindex 12663df7908..6020d800747 100644--- a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts+++ b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts@@ -88,10 +88,13 @@ export class WorkPackagesFullViewComponent extends WorkPackageSingleViewBase impprotected init() {super.init();- this.recentItemsService.add(this.workPackage.id!);+ if (this.workPackage.id) {+ this.recentItemsService.add(this.workPackage.id);++ // Set Focused WP+ this.wpTableFocus.updateFocus(this.workPackage.id);+ }- // Set Focused WP- this.wpTableFocus.updateFocus(this.workPackage.id!);this.setWorkPackageScopeProperties(this.workPackage);}