mseemann/angular2-mdl

View on GitHub
projects/core/src/lib/dialog/mdl-dialog.component.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function show has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  show(): Observable<MdlDialogReference> {
    if (this.isShown) {
      throw new Error("Only one instance of an embedded mdl-dialog can exist!");
    }
    this.isShown = true;
Severity: Minor
Found in projects/core/src/lib/dialog/mdl-dialog.component.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status