diff --git a/projects/demo/src/modules/app/app.component.ts b/projects/demo/src/modules/app/app.component.ts index 7789e9a2ee5b..d1f7b1b7abe3 100644 --- a/projects/demo/src/modules/app/app.component.ts +++ b/projects/demo/src/modules/app/app.component.ts @@ -94,7 +94,7 @@ export class App extends AbstractDemo implements OnInit { public override async ngOnInit(): Promise { await super.ngOnInit(); - if (this.isServer || this.isE2E) { + if (this.isServer || this.isE2E || !environment.production) { return; }