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
no need to cast HTMLInputElement to HTMLElement
Ivan Kuchin3e830c3b393e
diff --git a/frontend/src/stimulus/controllers/dynamic/filter/filter-list.controller.ts b/frontend/src/stimulus/controllers/dynamic/filter/filter-list.controller.tsindex 373ca8194f3..7ab54c6557e 100644--- a/frontend/src/stimulus/controllers/dynamic/filter/filter-list.controller.ts+++ b/frontend/src/stimulus/controllers/dynamic/filter/filter-list.controller.ts@@ -69,7 +69,7 @@ export default class FilterListController extends Controller {item.classList.remove('d-none');showNoResultsText = false;} else {- (item as HTMLElement).classList.add('d-none');+ item.classList.add('d-none');}});@@ -82,7 +82,7 @@ export default class FilterListController extends Controller {resetFilterViaClearButton() {this.searchItemTargets.forEach((item) => {- (item as HTMLElement).classList.remove('d-none');+ item.classList.remove('d-none');});}}diff --git a/frontend/src/stimulus/controllers/dynamic/projects/settings/project-custom-fields-mapping-filter.controller.ts b/frontend/src/stimulus/controllers/dynamic/projects/settings/project-custom-fields-mapping-filter.controller.tsindex 9f93777d038..4ab0be1d4e8 100644--- a/frontend/src/stimulus/controllers/dynamic/projects/settings/project-custom-fields-mapping-filter.controller.ts+++ b/frontend/src/stimulus/controllers/dynamic/projects/settings/project-custom-fields-mapping-filter.controller.ts@@ -57,13 +57,13 @@ export default class extends FilterListController {hideBulkActionContainers() {this.bulkActionContainerTargets.forEach((item) => {- (item as HTMLElement).classList.add('d-none');+ item.classList.add('d-none');});}showBulkActionContainers() {this.bulkActionContainerTargets.forEach((item) => {- (item as HTMLElement).classList.remove('d-none');+ item.classList.remove('d-none');});}}