Skip to content

Commit

Permalink
fix(module:calendar): use correct classNames (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
trotyl authored and vthinkxie committed Mar 12, 2018
1 parent 4f9e550 commit 5392fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/calendar/nz-calendar-header.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<nz-select class="ant-fullcalendar--year-select" [nzSize]="size"
<nz-select class="ant-fullcalendar-year-select" [nzSize]="size"
[ngModel]="activeYear" (ngModelChange)="yearChange.emit($event)">
<nz-option *ngFor="let year of years" [nzLabel]="year.label" [nzValue]="year.value"></nz-option>
</nz-select>

<nz-select *ngIf="mode === 'month'" class="ant-fullcalendar--year-select" [nzSize]="size"
<nz-select *ngIf="mode === 'month'" class="ant-fullcalendar-month-select" [nzSize]="size"
[ngModel]="activeMonth" (ngModelChange)="monthChange.emit($event)">
<nz-option *ngFor="let month of months" [nzLabel]="month.label" [nzValue]="month.value"></nz-option>
</nz-select>
Expand Down

0 comments on commit 5392fde

Please sign in to comment.