@@ -62,22 +62,22 @@ <h2 class="igx-time-picker__header-hour">
62
62
< div class ="igx-time-picker__body ">
63
63
< div *ngIf ="showHoursList " #hourList [igxItemList] ="'hourList' ">
64
64
< span [igxHourItem] ="hour "
65
- [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem('hour' , hour)} "
65
+ [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem(TimeParts.Hour , hour)} "
66
66
*ngFor ="let hour of hourView "> {{ hour }}</ span >
67
67
</ div >
68
68
< div *ngIf ="showMinutesList " #minuteList [igxItemList] ="'minuteList' ">
69
69
< span [igxMinuteItem] ="minute "
70
- [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem('minute' , minute)} "
70
+ [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem(TimeParts.Minute , minute)} "
71
71
*ngFor ="let minute of minuteView " > {{ minute }}</ span >
72
72
</ div >
73
73
< div *ngIf ="showSecondsList " #secondsList [igxItemList] ="'secondsList' ">
74
74
< span [igxSecondsItem] ="seconds "
75
- [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem('seconds' , seconds)} "
75
+ [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem(TimeParts.Seconds , seconds)} "
76
76
*ngFor ="let seconds of secondsView "> {{ seconds }}</ span >
77
77
</ div >
78
78
< div *ngIf ="showAmPmList " #ampmList [igxItemList] ="'ampmList' ">
79
79
< span [igxAmPmItem] ="ampm "
80
- [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem('ampm' , ampm)} "
80
+ [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem(TimeParts.amPM , ampm)} "
81
81
*ngFor ="let ampm of ampmView "> {{ ampm }}</ span >
82
82
</ div >
83
83
</ div >
0 commit comments