mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Fix Liquid URL from block height search
This commit is contained in:
parent
3b6ed8bde7
commit
38102aa387
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ export class BlockComponent implements OnInit, OnDestroy {
|
|||
switchMap((hash) => {
|
||||
this.blockHash = hash;
|
||||
this.location.replaceState(
|
||||
this.router.createUrlTree([(this.network ? '/' + this.network : '') + '/block/', hash]).toString()
|
||||
this.router.createUrlTree([this.relativeUrlPipe.transform('/block/'), hash]).toString()
|
||||
);
|
||||
this.seoService.updateCanonical(this.location.path());
|
||||
return this.apiService.getBlock$(hash).pipe(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue