Commit d85e68318c60394b9c14c4822871fd958cc5d5fb
Exists in
develop
Merge branch 'develop' into 'develop'
Develop See merge request !83
Showing
1 changed file
 
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 | } |