Commit 88d43d1d792cbd86ff51a599e427d68c91e2947f

Authored by Marcelo Puebla
1 parent 3bdb9cf874
Exists in develop

Fix

Lint rules
Showing 1 changed file with 3 additions and 4 deletions   Show diff stats
src/app/app.component.ts
... ... @@ -21,15 +21,14 @@ export class AppComponent {
21 21 this.connectionService.monitor().subscribe(isConnected => {
22 22 this.isConnected = isConnected;
23 23 if (this.isConnected && this.modalRef) {
24   - this.modalRef.hide()
25   - }
26   - else {
  24 + this.modalRef.hide();
  25 + } else {
27 26 this.modalRef = this.modalService.show(InternetConnectionComponent, {
28 27 backdrop: false,
29 28 ignoreBackdropClick: true,
30 29 class: 'modal-dialog-centered'
31 30 });
32 31 }
33   - })
  32 + });
34 33 }
35 34 }