start of dashboard component with flexbox
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { SystemConfigService } from './system-config.service';
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@@ -7,16 +6,5 @@ import { SystemConfigService } from './system-config.service';
|
||||
styleUrls: ['./app.component.scss']
|
||||
})
|
||||
export class AppComponent {
|
||||
title = 'Tech UI';
|
||||
|
||||
constructor(private systemConfigService: SystemConfigService) { }
|
||||
|
||||
ngOnInit(): void {
|
||||
console.log("app component init");
|
||||
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')
|
||||
);
|
||||
}
|
||||
constructor() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user