2018-04-25 11:23:30 +00:00
|
|
|
import { Component, OnInit, AfterContentInit, Input, OnChanges } from '@angular/core';
|
2018-05-02 08:09:39 +00:00
|
|
|
import { InfraHost } from '@overflow/commons-typescript/model/infra';
|
2018-04-25 11:23:30 +00:00
|
|
|
import { InfraService } from '../../service/infra.service';
|
|
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'of-service-summary',
|
|
|
|
templateUrl: './service-summary.component.html',
|
|
|
|
})
|
|
|
|
export class ServiceSummaryComponent implements OnInit, AfterContentInit, OnChanges {
|
|
|
|
|
|
|
|
@Input() service: InfraService;
|
|
|
|
@Input() visible: boolean;
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
) { }
|
|
|
|
|
|
|
|
ngOnInit() {
|
|
|
|
}
|
|
|
|
|
|
|
|
ngAfterContentInit() {
|
|
|
|
console.log(this.service);
|
|
|
|
}
|
|
|
|
|
|
|
|
ngOnChanges() {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|