start of dashboard component with flexbox

This commit is contained in:
Jesse Lucas
2020-03-15 17:19:57 -04:00
parent ce2c6c01da
commit ad2902b3ee
10 changed files with 104 additions and 33 deletions
+19
View File
@@ -0,0 +1,19 @@
import { Component, OnInit } from '@angular/core';
import { SystemConfigService } from '../system-config.service';
@Component({
selector: 'app-dashboard',
templateUrl: './dashboard.component.html',
styleUrls: ['./dashboard.component.scss']
})
export class DashboardComponent {
constructor(private systemConfigService: SystemConfigService) { }
ngOnInit() {
this.systemConfigService.getSystemConfig().subscribe(
x => console.log('Observer got a next value: ' + x),
err => console.error('Observer got an error: ' + err),
() => console.log('Observer got a complete notification')
);
}
}