|
|
@@ -1,4 +1,5 @@ |
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import { IFilterOption } from '../models/filter-option'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
selector: 'app-dashboard', |
|
|
@@ -6,10 +7,7 @@ import { Component, OnInit } from '@angular/core'; |
|
|
|
styleUrls: ['./dashboard.component.scss'] |
|
|
|
}) |
|
|
|
export class DashboardComponent implements OnInit { |
|
|
|
filterOptions: Array<{ |
|
|
|
name: string, |
|
|
|
id: string |
|
|
|
}> |
|
|
|
filterOptions: Array<IFilterOption>; |
|
|
|
|
|
|
|
constructor() { } |
|
|
|
|
|
|
@@ -20,7 +18,7 @@ export class DashboardComponent implements OnInit { |
|
|
|
}, { |
|
|
|
name: 'Today', |
|
|
|
id: 'today' |
|
|
|
}] |
|
|
|
}]; |
|
|
|
} |
|
|
|
|
|
|
|
} |