add filter service and enable chart states to filter lists

This commit is contained in:
Jesse Lucas
2020-04-03 09:20:27 -05:00
parent cce8b60515
commit 3bdceb1d6b
15 changed files with 144 additions and 48 deletions
+6 -4
View File
@@ -1,15 +1,17 @@
import { Component, OnInit } from '@angular/core';
import { SystemConfigService } from '../services/system-config.service';
import { Type } from '../type';
import { StType } from '../type';
import { FilterService } from '../services/filter.service';
@Component({
selector: 'app-dashboard',
templateUrl: './dashboard.component.html',
styleUrls: ['./dashboard.component.scss']
styleUrls: ['./dashboard.component.scss'],
providers: [FilterService]
})
export class DashboardComponent {
folderChart: Type = Type.Folder;
deviceChart: Type = Type.Device;
folderChart: StType = StType.Folder;
deviceChart: StType = StType.Device;
constructor(private systemConfigService: SystemConfigService) { }