projects/core/src/lib/dialog/mdl-dialog.component.ts
Function show
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show(): Observable<MdlDialogReference> {
if (this.isShown) {
throw new Error("Only one instance of an embedded mdl-dialog can exist!");
}
this.isShown = true;