File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { NgModule } from '@angular/core' ;
1+ import { NgModule , provideZoneChangeDetection } from '@angular/core' ;
22import { BrowserModule } from '@angular/platform-browser' ;
33import { FormsModule , ReactiveFormsModule } from '@angular/forms' ;
44
@@ -40,6 +40,10 @@ import {DeviceFormComponent} from './device-form/device-form.component';
4040import { SafeUrlPipe } from './safe-url.pipe' ;
4141import { HTTP_INTERCEPTOR_PROVIDERS } from '../http_interceptors' ;
4242
43+ @NgModule ( { providers : [ provideZoneChangeDetection ( ) ] } )
44+ export class ZoneChangeDetectionModule {
45+ }
46+
4347@NgModule ( {
4448 declarations : [
4549 AppComponent ,
@@ -84,6 +88,7 @@ import {HTTP_INTERCEPTOR_PROVIDERS} from '../http_interceptors';
8488 { path : 'create-host' , component : CreateHostViewComponent } ,
8589 { path : 'register-runtime' , component : RegisterRuntimeViewComponent } ,
8690 ] ) ,
91+ ZoneChangeDetectionModule ,
8792 ] ,
8893 providers : [
8994 HTTP_INTERCEPTOR_PROVIDERS ,
You can’t perform that action at this time.
0 commit comments