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 space

Ivan Kuchind38d9448f0e5
diff --git a/frontend/src/stimulus/controllers/dynamic/filter/filter-list.controller.ts b/frontend/src/stimulus/controllers/dynamic/filter/filter-list.controller.ts
index ee93120b3ba..373ca8194f3 100644
--- a/frontend/src/stimulus/controllers/dynamic/filter/filter-list.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/filter/filter-list.controller.ts
@@ -47,7 +47,7 @@ export default class FilterListController extends Controller {
declare readonly clearButtonIdValue:string;
connect():void {
- document.getElementById(this.clearButtonIdValue)?.addEventListener('click', () => {
+ document.getElementById(this.clearButtonIdValue)?.addEventListener('click', () => {
this.resetFilterViaClearButton();
});
}
@@ -66,7 +66,7 @@ export default class FilterListController extends Controller {
const text = item.textContent?.toLowerCase();
if (text?.includes(query)) {
- (item as HTMLElement).classList.remove('d-none');
+ item.classList.remove('d-none');
showNoResultsText = false;
} else {
(item as HTMLElement).classList.add('d-none');