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
Pre-register activities tab IndexController to fix outlet timing issues
Kabiru Mwenjada1315d599bb
diff --git a/frontend/src/stimulus/setup.ts b/frontend/src/stimulus/setup.tsindex 46e1bb3e7b4..3fc2845372e 100644--- a/frontend/src/stimulus/setup.ts+++ b/frontend/src/stimulus/setup.ts@@ -19,6 +19,7 @@ import PatternInputController from './controllers/pattern-input.controller';import HoverCardTriggerController from './controllers/hover-card-trigger.controller';import ScrollIntoViewController from './controllers/scroll-into-view.controller';import CkeditorFocusController from './controllers/ckeditor-focus.controller';+import IndexController from './controllers/dynamic/work-packages/activities-tab/index.controller';import AutoSubmit from '@stimulus-components/auto-submit';import { OpenProjectStimulusApplication } from 'core-stimulus/openproject-stimulus-application';@@ -52,9 +53,9 @@ OpenProjectStimulusApplication.preregister('pattern-input', PatternInputControllOpenProjectStimulusApplication.preregister('scroll-into-view', ScrollIntoViewController);OpenProjectStimulusApplication.preregister('ckeditor-focus', CkeditorFocusController);OpenProjectStimulusApplication.preregister('auto-submit', AutoSubmit);+OpenProjectStimulusApplication.preregister('work-packages--activities-tab--index', IndexController);OpenProjectStimulusApplication.preregister('beforeunload', BeforeunloadController);-const instance = OpenProjectStimulusApplication.start();window.Stimulus = instance;