Skip to content

Commit

Permalink
chore: handle ambiguous instances of helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanshaikh7466 committed Jan 4, 2024
1 parent 190b5b5 commit a6f477b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ember-power-calendar/src/components/power-calendar/days.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="ember-power-calendar-days"
{{on "click" this.handleClick}}
...attributes
data-power-calendar-id={{or @calendar.calendarUniqueId @calendar.uniqueId}}>
data-power-calendar-id={{(or @calendar.calendarUniqueId @calendar.uniqueId)}}>
<div class="ember-power-calendar-row ember-power-calendar-weekdays">
{{#each this.weekdaysNames as |wdn|}}
<div class="ember-power-calendar-weekday">{{wdn}}</div>
Expand All @@ -15,7 +15,7 @@
{{#each week.days key='id' as |day|}}
<button type="button"
data-date="{{day.id}}"
class={{ember-power-calendar-day-classes day @calendar this.weeks @dayClass}}
class={{(ember-power-calendar-day-classes day @calendar this.weeks @dayClass)}}
{{on "focus" this.handleDayFocus}}
{{on "blur" this.handleDayBlur}}
disabled={{day.isDisabled}}>
Expand Down
2 changes: 1 addition & 1 deletion ember-power-calendar/src/components/power-calendar/nav.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{#if (has-block)}}
{{yield @calendar}}
{{else}}
{{power-calendar-format-date @calendar.center this.format locale=@calendar.locale}}
{{(power-calendar-format-date @calendar.center this.format locale=@calendar.locale)}}
{{/if}}
</div>
{{#if @calendar.actions.changeCenter}}
Expand Down

0 comments on commit a6f477b

Please sign in to comment.