Skip to content

Commit

Permalink
fix(module:time-picker): place ViewChild decorator on correct field
Browse files Browse the repository at this point in the history
  • Loading branch information
lppedd committed Sep 12, 2019
1 parent de1e496 commit 0527048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/time-picker/nz-time-picker-panel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ export class NzTimePickerPanelComponent implements ControlValueAccessor, OnInit,
minuteRange: ReadonlyArray<{ index: number; disabled: boolean }>;
secondRange: ReadonlyArray<{ index: number; disabled: boolean }>;
use12HoursRange: ReadonlyArray<{ index: number; value: string }>;
nzTimeValueAccessorDirective: NzTimeValueAccessorDirective;

@ViewChild(NzTimeValueAccessorDirective, { static: false })
nzTimeValueAccessorDirective: NzTimeValueAccessorDirective;
@ViewChild('hourListElement', { static: false })
hourListElement: DebugElement;
@ViewChild('minuteListElement', { static: false }) minuteListElement: DebugElement;
Expand Down

0 comments on commit 0527048

Please sign in to comment.