Prepend network name to title when on testnet or liquid.
This commit is contained in:
@@ -60,7 +60,7 @@ export class AddressComponent implements OnInit, OnDestroy {
|
||||
this.transactions = null;
|
||||
document.body.scrollTo(0, 0);
|
||||
this.addressString = params.get('id') || '';
|
||||
this.seoService.setTitle('Address: ' + this.addressString);
|
||||
this.seoService.setTitle('Address: ' + this.addressString, true);
|
||||
|
||||
return merge(
|
||||
of(true),
|
||||
|
||||
@@ -59,7 +59,7 @@ export class BlockComponent implements OnInit, OnDestroy {
|
||||
tap((block: Block) => {
|
||||
this.block = block;
|
||||
this.blockHeight = block.height;
|
||||
this.seoService.setTitle('Block: #' + block.height + ': ' + block.id);
|
||||
this.seoService.setTitle('Block: #' + block.height + ': ' + block.id, true);
|
||||
this.isLoadingBlock = false;
|
||||
this.setBlockSubsidy();
|
||||
if (block.reward) {
|
||||
|
||||
@@ -45,7 +45,7 @@ export class TransactionComponent implements OnInit, OnDestroy {
|
||||
this.route.paramMap.pipe(
|
||||
switchMap((params: ParamMap) => {
|
||||
this.txId = params.get('id') || '';
|
||||
this.seoService.setTitle('Transaction: ' + this.txId);
|
||||
this.seoService.setTitle('Transaction: ' + this.txId, true);
|
||||
this.error = undefined;
|
||||
this.feeRating = undefined;
|
||||
this.isLoadingTx = true;
|
||||
|
||||
Reference in New Issue
Block a user