Migrate from the deprecated TSLint to Angluar ESLint. Also fix current linting issues in the code, in particular: - Use strict equals operators (=== and !==) - Remove empty lifecycle methods (mostly ngOnInit) - Output bindings including aliases should not be named as standard dom events (submit) - Async pipe results should not be negated
27 lines
745 B
TypeScript
27 lines
745 B
TypeScript
/** Angular Imports */
|
|
import { Component, Inject } from '@angular/core';
|
|
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
|
|
/**
|
|
* Continue Setup Dialog Component.
|
|
*/
|
|
@Component({
|
|
selector: 'mifosx-continue-setup-dialog',
|
|
templateUrl: './continue-setup-dialog.component.html',
|
|
styleUrls: ['./continue-setup-dialog.component.scss']
|
|
})
|
|
export class ContinueSetupDialogComponent {
|
|
|
|
/* Current Step Name*/
|
|
stepName: number;
|
|
|
|
/**
|
|
* @param {MatDialogRef<ContinueSetupDialogComponent>} dialogRef MatDialogRef<ContinueSetupDialogComponent>.
|
|
*/
|
|
constructor(public dialogRef: MatDialogRef<ContinueSetupDialogComponent>,
|
|
@Inject(MAT_DIALOG_DATA) public data: any) {
|
|
this.stepName = data.stepName;
|
|
}
|
|
|
|
}
|