diff --git a/frontend/src/stimulus/controllers/dynamic/admin/progress-tracking.controller.ts b/frontend/src/stimulus/controllers/dynamic/admin/progress-tracking.controller.ts index 05f3b5f97b63..5047fe4f6dd2 100644 --- a/frontend/src/stimulus/controllers/dynamic/admin/progress-tracking.controller.ts +++ b/frontend/src/stimulus/controllers/dynamic/admin/progress-tracking.controller.ts @@ -49,6 +49,10 @@ export default class ProgressTrackingController extends Controller { declare readonly warningTextTarget:HTMLElement; declare readonly warningToastTarget:HTMLElement; + connect() { + this.displayWarning(); + } + displayWarning() { const warningMessageHtml = this.getWarningMessageHtml(); if (warningMessageHtml) {