Skip to content

Commit

Permalink
refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
BhavinPatel04 committed Sep 28, 2019
1 parent d83c81f commit a8bbc18
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
<div class="date-select">
<div *ngIf="state.customRange" style="position: relative;">
<div *ngIf="config.timezoneSupport" class="list-inline timezone-select">
<div class="timezones">
<div class="timeZones">
<div
*ngFor="let tz of state.timezones; let last = last"
*ngFor="let tz of state.timeZones; let last = last"
class="timezone"
[ngClass]="{
'border-separator': !last,
Expand Down Expand Up @@ -207,7 +207,7 @@
mat-button
*ngFor="let range of config.availableRanges | ObjNgFor"
class="calendar-range"
[ngClass]="{ 'active-range': range == activeRange }"
[ngClass]="{ 'active-range': range == state.activeRange }"
(click)="onRangeClick(range, config.availableRanges[range])"
>
{{ range }}
Expand Down

0 comments on commit a8bbc18

Please sign in to comment.