Skip to content

Commit

Permalink
fix(#8463): don't wait for all initialization tasks to load the page
Browse files Browse the repository at this point in the history
  • Loading branch information
dianabarsan authored Aug 17, 2023
1 parent 19e6ead commit 5fb6034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/ts/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,13 @@ export class AppComponent implements OnInit, AfterViewInit {
this.setupPromise = Promise.resolve()
.then(() => this.chtScriptApiService.isInitialized())
.then(() => this.checkPrivacyPolicy())
.then(() => (this.initialisationComplete = true))
.then(() => this.initRulesEngine())
.then(() => this.initTransitions())
.then(() => this.initForms())
.then(() => this.initUnreadCount())
.then(() => this.checkDateService.check(true))
.then(() => this.startRecurringProcesses())
.then(() => this.initialisationComplete = true)
.catch(err => {
this.initialisationComplete = true;
console.error('Error during initialisation', err);
Expand Down

0 comments on commit 5fb6034

Please sign in to comment.