Skip to content

Commit

Permalink
chore: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Oct 19, 2022
1 parent 58a33ce commit a82758d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ export class TuiPrimitiveCalendarComponent {
return null;
}

getDataType(item: TuiDay, handler: TuiHandler<TuiDay, string>): string {
return handler(item);
}

getItemRange(item: TuiDay): TuiRangeState | null {
const {value, hoveredItem} = this;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div
automation-id="tui-primitive-calendar__item"
class="t-item"
[attr.data-type]="item | tuiMapper: getDataType:dayTypeHandler"
[attr.data-type]="item | tuiMapper: dayTypeHandler"
[class.t-item_unavailable]="itemIsUnavailable(item)"
>
{{ item.day }}
Expand Down

0 comments on commit a82758d

Please sign in to comment.