Update title to - "<network> Explorer"

This commit is contained in:
softsimon
2020-08-12 14:04:04 +07:00
parent 2d02ec7092
commit b1c8166936
11 changed files with 22 additions and 19 deletions

View File

@@ -61,7 +61,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, true);
this.seoService.setTitle('Address: ' + this.addressString);
return merge(
of(true),

View File

@@ -68,7 +68,7 @@ export class AssetComponent implements OnInit, OnDestroy {
this.transactions = null;
document.body.scrollTo(0, 0);
this.assetString = params.get('id') || '';
this.seoService.setTitle('Asset: ' + this.assetString, true);
this.seoService.setTitle('Asset: ' + this.assetString);
return merge(
of(true),

View File

@@ -92,7 +92,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, true);
this.seoService.setTitle('Block: #' + block.height + ': ' + block.id);
this.isLoadingBlock = false;
if (block.coinbaseTx) {
this.coinbaseTx = block.coinbaseTx;

View File

@@ -44,7 +44,7 @@ export class TransactionComponent implements OnInit, OnDestroy {
this.subscription = this.route.paramMap.pipe(
switchMap((params: ParamMap) => {
this.txId = params.get('id') || '';
this.seoService.setTitle('Transaction: ' + this.txId, true);
this.seoService.setTitle('Transaction: ' + this.txId);
this.resetTransaction();
return merge(
of(true),