diff --git a/ng6-seed/src/app/app.module.ts b/ng6-seed/src/app/app.module.ts index ba8f4977d..cb7d5230c 100755 --- a/ng6-seed/src/app/app.module.ts +++ b/ng6-seed/src/app/app.module.ts @@ -2,7 +2,7 @@ import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { RouterModule } from '@angular/router'; import { NgModule } from '@angular/core'; -import { FormsModule } from '@angular/forms'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { HttpModule, Http } from '@angular/http'; import { HttpClientModule, HttpClient, HTTP_INTERCEPTORS} from '@angular/common/http'; @@ -64,6 +64,11 @@ import { VideoChatComponent } from './video-chat/video-chat.component' import { PushNotifyService } from './shared/push-notify.service'; import { MatVideoModule } from 'mat-video'; import { ReqTokenInterceptor } from './_guard/req-token.interceptor'; +import { DynamicNotifyComponent } from './layouts/dynamic-notify/dynamic-notify.component'; +// import { SelectAllComponent } from './select-all/select-all.component'; +// import { CustomNotificationComponent } from './layouts/custom-notification/custom-notification.component'; +//import { SelectAllComponent } from './select-all/select-all.component'; +//import { CustomNotificationComponent } from './layouts/custom-notification/custom-notification.component'; //import { OtpComponent } from './session/otp/otp.component'; @@ -87,9 +92,10 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { AdminLayoutComponent, AuthLayoutComponent, NewPasswordDialog,ForgotPass,ChangePasswordDialog, RoleMenuItemsPipe, HttpLoaderComponent, - IncomingCallComponent, VideoChatComponent + IncomingCallComponent, VideoChatComponent, DynamicNotifyComponent, ], imports: [ + ReactiveFormsModule, MatDialogModule, BrowserModule, BrowserAnimationsModule, @@ -116,6 +122,7 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { MatFormFieldModule, HttpClientModule, ResizableModule, + TranslateModule.forRoot({ loader: { provide: TranslateLoader, @@ -151,7 +158,7 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { }, MessagingService, AsyncPipe,LoaderService ], - entryComponents: [NewPasswordDialog,ForgotPass,ChangePasswordDialog] + entryComponents: [NewPasswordDialog,ForgotPass,ChangePasswordDialog,DynamicNotifyComponent] // IncomingCallComponent,VideoChatComponent,], ,bootstrap: [AppComponent] }) diff --git a/ng6-seed/src/app/layouts/admin/admin-layout.component.html b/ng6-seed/src/app/layouts/admin/admin-layout.component.html index 4dec3576a..5e469ea7c 100755 --- a/ng6-seed/src/app/layouts/admin/admin-layout.component.html +++ b/ng6-seed/src/app/layouts/admin/admin-layout.component.html @@ -128,11 +128,12 @@