Skip to content

Commit

Permalink
fix(module: picker): import OverlayModule (NG-ZORRO#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guoyuanqiang authored and fisherspy committed Nov 15, 2018
1 parent 6d557d3 commit 722ee27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion components/core/core.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import { TouchFeedbackDirective } from './directive/touch-feedback.directive';
import { TouchFeedBackComponent } from './directive/touch-feedback.component';
import { PopupService } from './services/popup.service';
export { PopupService } from './services/popup.service';
import { OverlayModule } from '@angular/cdk/overlay';
@NgModule({
imports: [
CommonModule
CommonModule,
OverlayModule
],
exports: [TouchFeedbackDirective, TouchFeedBackComponent],
declarations: [TouchFeedbackDirective, TouchFeedBackComponent],
Expand Down
4 changes: 2 additions & 2 deletions components/picker/picker.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { CommonModule } from '@angular/common';
import { PickerComponent } from './picker.component';
import { PickerDirective } from './picker.directive';
import { PickerOptions } from './picker-options.provider';

import { CoreModule } from '../core/core.module';
@NgModule({
imports: [CommonModule],
imports: [CommonModule, CoreModule],
exports: [PickerComponent, PickerDirective],
declarations: [PickerComponent, PickerDirective],
providers: [PickerOptions],
Expand Down

0 comments on commit 722ee27

Please sign in to comment.