Improve data load process to occur on app load.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<nav class="navbar navbar-dark background-dark">
|
||||
<h1 class="navbar-brand">
|
||||
<div *ngIf="noInternetConnection; then offlineBlock; else onlineBlock"></div>
|
||||
<div *ngIf="online; then onlineBlock; else offlineBlock"></div>
|
||||
<ng-template #offlineBlock>
|
||||
<strong style="color: red">OFFLINE </strong>
|
||||
<img width="20rem" src="assets/images/no-wifi.svg" alt="Internet Disconnected" />
|
||||
|
||||
Reference in New Issue
Block a user