add messaging for missing LAN

This commit is contained in:
Matt Hill
2021-03-06 10:56:49 -07:00
committed by Keagan McClelland
parent d430986403
commit d611c69b0c
2 changed files with 5 additions and 4 deletions

View File

@@ -97,12 +97,13 @@
<ion-icon slot="icon-only" name="copy-outline" color="primary"></ion-icon>
</ion-button>
</ion-item>
<ion-item *ngIf="!hideLAN" lines="none">
<ion-item lines="none">
<ion-label class="ion-text-wrap">
<h2>LAN Address</h2>
<p>{{ vars.lanAddress }}</p>
<p *ngIf="!hideLAN">{{ vars.lanAddress }}</p>
<p *ngIf="hideLAN"><ion-text color="warning">No LAN address for {{ vars.title }} {{ vars.versionInstalled }}</ion-text></p>
</ion-label>
<ion-button slot="end" fill="clear" (click)="copyLAN()">
<ion-button *ngIf="!hideLAN" slot="end" fill="clear" (click)="copyLAN()">
<ion-icon slot="icon-only" name="copy-outline" color="primary"></ion-icon>
</ion-button>
</ion-item>

View File

@@ -52,7 +52,7 @@ export function toServiceBreakage (f: BaseApp): DependentBreakage {
export const bitcoinI: ApiAppInstalledFull = {
id: 'bitcoind',
versionInstalled: '0.18.1',
lanAddress: 'bitcoinLan.local',
lanAddress: undefined,
title: 'Bitcoin Core',
torAddress: '4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion',
startAlert: 'Bitcoind could take a loooooong time to start. Please be patient.',