From 88d43d1d792cbd86ff51a599e427d68c91e2947f Mon Sep 17 00:00:00 2001 From: Marcelo Puebla Date: Wed, 29 Jan 2020 16:45:55 -0300 Subject: [PATCH] Fix Lint rules --- src/app/app.component.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index b79b78a..8439316 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -21,15 +21,14 @@ export class AppComponent { this.connectionService.monitor().subscribe(isConnected => { this.isConnected = isConnected; if (this.isConnected && this.modalRef) { - this.modalRef.hide() - } - else { + this.modalRef.hide(); + } else { this.modalRef = this.modalService.show(InternetConnectionComponent, { backdrop: false, ignoreBackdropClick: true, class: 'modal-dialog-centered' }); } - }) + }); } } -- 1.9.1