Skip to content

Commit

Permalink
refactor(calendar): replace deprecated ngOutletContext (#200)
Browse files Browse the repository at this point in the history
Use ngTemplateOutletContext instead.
  • Loading branch information
chunghha authored and vthinkxie committed Aug 31, 2017
1 parent e861e58 commit c9e8c98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/calendar/nz-calendar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export interface WeekInterface {
<ng-template
*ngIf="dateCell"
[ngTemplateOutlet]="dateCell"
[ngOutletContext]="{ $implicit: day}">
[ngTemplateOutletContext]="{ $implicit: day}">
</ng-template>
</div>
</div>
Expand Down Expand Up @@ -165,7 +165,7 @@ export interface WeekInterface {
<ng-template
*ngIf="monthCell"
[ngTemplateOutlet]="monthCell"
[ngOutletContext]="{ $implicit: month}">
[ngTemplateOutletContext]="{ $implicit: month}">
</ng-template>
</div>
</div>
Expand Down

0 comments on commit c9e8c98

Please sign in to comment.