diff --git a/packages/insight/src/app/home/home.page.html b/packages/insight/src/app/home/home.page.html index cf6de0e3298..8302070740f 100644 --- a/packages/insight/src/app/home/home.page.html +++ b/packages/insight/src/app/home/home.page.html @@ -1,10 +1,17 @@ - - - - - {{ (config.currentChain$ | async).name }} + + + + + + {{ currentChain.name }} + + + + + + diff --git a/packages/insight/src/app/services/network/network.service.ts b/packages/insight/src/app/services/network/network.service.ts index 8c95eb3cefa..f959b2cf679 100644 --- a/packages/insight/src/app/services/network/network.service.ts +++ b/packages/insight/src/app/services/network/network.service.ts @@ -1,6 +1,11 @@ import { Injectable } from '@angular/core'; import { BehaviorSubject, fromEvent } from 'rxjs'; +/** + * TODO: This currently only checks network connectivity. It should also notify + * the app if the connected bitcore-node starts failing (using + * `ApiService.bitcoreAvailable`). + */ @Injectable({ providedIn: 'root' }) diff --git a/packages/insight/src/app/shared/output/output.component.html b/packages/insight/src/app/shared/output/output.component.html index 3e2e9e08017..75a4031dff7 100644 --- a/packages/insight/src/app/shared/output/output.component.html +++ b/packages/insight/src/app/shared/output/output.component.html @@ -9,6 +9,7 @@ displayAs="{{ displayValueCode }}" > +