import { Component , Input , OnInit } from '@angular/core' ; import { RenderResult } from '../../../models/cmdb-render' ; import { CmdbMode } from '../../../modes.enum' ; import { FormGroup } from '@angular/forms' ; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap' ; @ Component ( { selector : 'cmdb-object-preview-modal' , templateUrl : './object-preview-modal.component.html' , styleUrls : [ './object-preview-modal.component.scss' ] } ) export class ObjectPreviewModalComponent implements OnInit { @ Input ( ) renderResult : RenderResult ; public mode = CmdbMode . View ; public formGroupDummy : FormGroup ; constructor ( public activeModal ) { this . formGroupDummy = new FormGroup ( { } ) ; } public ngOnInit ( ) { } }