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

obey eslint

as-op20fb30e06a5e
diff --git a/frontend/src/stimulus/controllers/dynamic/job-status-polling.controller.ts b/frontend/src/stimulus/controllers/dynamic/job-status-polling.controller.ts
index dc022b9f188..9dcef31850c 100644
--- a/frontend/src/stimulus/controllers/dynamic/job-status-polling.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/job-status-polling.controller.ts
@@ -1,4 +1,4 @@
-import { Controller } from "@hotwired/stimulus";
+import { Controller } from '@hotwired/stimulus';
import { FrameElement } from '@hotwired/turbo';
export default class JobStatusPollingController extends Controller<FrameElement> {
@@ -10,10 +10,7 @@ export default class JobStatusPollingController extends Controller<FrameElement>
interval:ReturnType<typeof setInterval>;
connect() {
- this.interval = setInterval(() => {
- void this.element.reload();
- },
- 2000)
+ this.interval = setInterval(() => this.element.reload(), 2000);
}
disconnect() {