@@ -62,22 +62,22 @@ <h2 class="igx-time-picker__header-hour">
6262 < div class ="igx-time-picker__body ">
6363 < div *ngIf ="showHoursList " #hourList [igxItemList] ="'hourList' ">
6464 < span [igxHourItem] ="hour "
65- [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem('hour' , hour)} "
65+ [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem(TimeParts.Hour , hour)} "
6666 *ngFor ="let hour of hourView "> {{ hour }}</ span >
6767 </ div >
6868 < div *ngIf ="showMinutesList " #minuteList [igxItemList] ="'minuteList' ">
6969 < span [igxMinuteItem] ="minute "
70- [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem('minute' , minute)} "
70+ [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem(TimeParts.Minute , minute)} "
7171 *ngFor ="let minute of minuteView " > {{ minute }}</ span >
7272 </ div >
7373 < div *ngIf ="showSecondsList " #secondsList [igxItemList] ="'secondsList' ">
7474 < span [igxSecondsItem] ="seconds "
75- [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem('seconds' , seconds)} "
75+ [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem(TimeParts.Seconds , seconds)} "
7676 *ngFor ="let seconds of secondsView "> {{ seconds }}</ span >
7777 </ div >
7878 < div *ngIf ="showAmPmList " #ampmList [igxItemList] ="'ampmList' ">
7979 < span [igxAmPmItem] ="ampm "
80- [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem('ampm' , ampm)} "
80+ [ngClass] ="{'igx-time-picker__item--disabled': applyDisabledStyleForItem(TimeParts.amPM , ampm)} "
8181 *ngFor ="let ampm of ampmView "> {{ ampm }}</ span >
8282 </ div >
8383 </ div >
0 commit comments