/** Angular Imports */ import { Component , OnInit } from '@angular/core' ; import { ActivatedRoute , Router } from '@angular/router' ; import { MatDialog } from '@angular/material/dialog' ; /** Custom Services */ import { SystemService } from 'app/system/system.service' ; /**
 * View Survey Component.
 */ @ Component ( { selector : 'mifosx-view-survey' , templateUrl : './view-survey.component.html' , styleUrls : [ './view-survey.component.scss' ] } ) export class ViewSurveyComponent implements OnInit { /** Survey Data */ surveyData : any ; /** Columns shown in individual survey table */ displayedColumns : string [ ] = [ 'text' , 'value' ] ; param { ActivatedRoute } route param { SystemService } systemService param { MatDialog } dialog param { Router } router constructor ( private route , private systemService , private dialog , private router ) { this . route . data . subscribe ( ( data ) => { this . surveyData = data . survey ; } ) ; } ngOnInit ( ) { } }