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
ESLint fixes
Alexander Brandon Coles61faf9cb4c57
diff --git a/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.ts b/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.tsindex 1b7a237c8fd..1117f73362d 100644--- a/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.ts+++ b/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.ts@@ -78,6 +78,7 @@ export class OpHeaderProjectSelectListComponent implements OnInit, OnChanges {}ngOnChanges(changes:SimpleChanges) {+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-conditionif (changes.displayMode || changes.projects || changes.favorited) {this.updateProjectFilter();}@@ -106,7 +107,7 @@ export class OpHeaderProjectSelectListComponent implements OnInit, OnChanges {}extendedUrl(projectId:string|null):string {- const currentMenuItem = document.querySelector('meta[name="current_menu_item"]') as HTMLMetaElement;+ const currentMenuItem = document.querySelector<HTMLMetaElement>('meta[name="current_menu_item"]')!;const url = projectId === null ? window.appBasePath : this.pathHelper.projectPath(projectId);if (!currentMenuItem) {