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 TS error in PollForChangesController

Alexander Brandon Colesa08f77d4d64f
diff --git a/frontend/src/stimulus/controllers/poll-for-changes.controller.ts b/frontend/src/stimulus/controllers/poll-for-changes.controller.ts
index ba6712479da..4b24bb4e64c 100644
--- a/frontend/src/stimulus/controllers/poll-for-changes.controller.ts
+++ b/frontend/src/stimulus/controllers/poll-for-changes.controller.ts
@@ -56,7 +56,7 @@ export default class PollForChangesController extends ApplicationController {
super.connect();
if (this.intervalValue !== 0) {
- this.interval = setInterval(() => {
+ this.interval = window.setInterval(() => {
void this.triggerTurboStream();
}, this.intervalValue || 10_000);
}