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 broken EffectHandler

Oliver Günther70cf14277529
diff --git a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts
index 0482aa58e7a..0aaa46c13e2 100644
--- a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts
+++ b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.component.ts
@@ -84,6 +84,7 @@ import { DayResourceService } from 'core-app/core/state/days/day.service';
import {
EffectCallback,
EffectHandler,
+ registerEffectCallbacks,
} from 'core-app/core/state/effects/effect-handler.decorator';
import { calendarRefreshRequest } from 'core-app/features/calendar/calendar.actions';
import { ActionsService } from 'core-app/core/state/actions/actions.service';
@@ -92,7 +93,6 @@ import {
removeBackgroundEvents,
} from 'core-app/features/team-planner/team-planner/planner/background-events';
-@EffectHandler
@Component({
templateUrl: './wp-calendar.template.html',
changeDetection: ChangeDetectionStrategy.OnPush,
@@ -147,6 +147,8 @@ export class WorkPackagesCalendarComponent extends UntilDestroyedMixin implement
}
ngOnInit():void {
+ registerEffectCallbacks(this, this.untilDestroyed());
+
this.wpTableFilters.hidden.push(
'project',
);