Skip to content

Commit

Permalink
fix(datepicker): setting default value for SHOW_WEEKS
Browse files Browse the repository at this point in the history
  • Loading branch information
edinfazlic committed Feb 5, 2016
1 parent 7e1d7ab commit f0079ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/datepicker/datepicker-inner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class DatePickerInner implements OnInit {
this.formatDayHeader = this.formatDayHeader || FORMAT_DAY_HEADER;
this.formatDayTitle = this.formatDayTitle || FORMAT_DAY_TITLE;
this.formatMonthTitle = this.formatMonthTitle || FORMAT_MONTH_TITLE;
this.showWeeks = this.showWeeks || SHOW_WEEKS;
this.showWeeks = !!this.showWeeks || SHOW_WEEKS;
this.startingDay = this.startingDay || STARTING_DAY;
this.yearRange = this.yearRange || YEAR_RANGE;
this.shortcutPropagation = this.shortcutPropagation || SHORTCUT_PROPAGATION;
Expand Down

0 comments on commit f0079ad

Please sign in to comment.