import { Component , OnInit , Inject } from '@angular/core' ; import { MatDialogRef , MAT_DIALOG_DATA } from '@angular/material/dialog' ; @ Component ( { selector : 'mifosx-loans-account-view-guarantor-details-dialog' , templateUrl : './loans-account-view-guarantor-details-dialog.component.html' , styleUrls : [ './loans-account-view-guarantor-details-dialog.component.scss' ] } ) export class LoansAccountViewGuarantorDetailsDialogComponent implements OnInit { constructor ( public dialogRef , @ Inject ( MAT_DIALOG_DATA ) public data ) { } ngOnInit ( ) { this . dialogRef . updateSize ( '400px' ) ; } }