Skip to content

Commit

Permalink
fix(time-filter): timeFilterForm implements onInit
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed May 1, 2018
1 parent 87d43df commit 8c16aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/filter/time-filter-form/time-filter-form.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, Input, Output, EventEmitter, ViewChild } from '@angular/core';
import { Component, OnInit, Input, Output, EventEmitter, ViewChild } from '@angular/core';
import { MatSlider } from '@angular/material';
import { TimeFilterOptions } from '../shared';

Expand All @@ -7,7 +7,7 @@ import { TimeFilterOptions } from '../shared';
templateUrl: './time-filter-form.component.html',
styleUrls: ['./time-filter-form.component.styl']
})
export class TimeFilterFormComponent {
export class TimeFilterFormComponent implements OnInit {

@Input()
get options(): TimeFilterOptions { return this._options; }
Expand Down

0 comments on commit 8c16aa6

Please sign in to comment.