fix(ui): fix NgbModal declaration

This commit is contained in:
hryb 2017-04-10 23:29:59 +03:00 committed by Lex Zhukov
parent 4fe42e3168
commit 49ff10e09f

View file

@ -2,6 +2,7 @@ import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NgaModule } from '../../theme/nga.module';
import { NgbModalModule } from '@ng-bootstrap/ng-bootstrap';
import { routing } from './ui.routing';
import { DropdownModule, ModalModule } from 'ng2-bootstrap';
@ -29,6 +30,7 @@ import { DefaultModal } from './components/modals/default-modal/default-modal.co
CommonModule,
FormsModule,
NgaModule,
NgbModalModule,
DropdownModule.forRoot(),
ModalModule.forRoot(),
routing
@ -50,6 +52,9 @@ import { DefaultModal } from './components/modals/default-modal/default-modal.co
GroupButtons,
DefaultModal
],
entryComponents: [
DefaultModal
],
providers: [
IconsService
]