|
- import { Component, OnInit } from '@angular/core';
- import { IFilterOption } from '../models/filter-option';
-
- @Component({
- selector: 'app-dashboard',
- templateUrl: './dashboard.component.html',
- styleUrls: ['./dashboard.component.scss']
- })
- export class DashboardComponent implements OnInit {
- filterOptions: Array<IFilterOption>;
-
- constructor() { }
-
- ngOnInit() {
- this.filterOptions = [{
- name: 'Yesterday',
- id: 'yesterday'
- }, {
- name: 'Today',
- id: 'today'
- }];
- }
-
- }
|