mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 22:58:30 +01:00
Merge pull request #4776 from mempool/mononaut/fix-new-unfurls
Fix tx push unfurl preview
This commit is contained in:
commit
9e1cf51e4a
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ export class PushTransactionComponent implements OnInit {
|
|||
|
||||
this.seoService.setTitle($localize`:@@meta.title.push-tx:Broadcast Transaction`);
|
||||
this.seoService.setDescription($localize`:@@meta.description.push-tx:Broadcast a transaction to the ${this.stateService.network==='liquid'||this.stateService.network==='liquidtestnet'?'Liquid':'Bitcoin'}${seoDescriptionNetwork(this.stateService.network)} network using the transaction's hash.`);
|
||||
this.ogService.setManualOgImage('broadcast-tx.jpg');
|
||||
this.ogService.setManualOgImage('tx-push.jpg');
|
||||
}
|
||||
|
||||
postTx() {
|
||||
|
|
|
@ -179,7 +179,7 @@ export function matchRoute(network: string, path: string): Match {
|
|||
match.fallbackImg = route.fallbackImg;
|
||||
|
||||
// traverse the route tree until we run out of route or tree, or hit a renderable match
|
||||
while (!route.render && route.routes && parts.length && route.routes[parts[0]]) {
|
||||
while (route.routes && parts.length && route.routes[parts[0]]) {
|
||||
route = route.routes[parts[0]];
|
||||
parts.shift();
|
||||
if (route.fallbackImg) {
|
||||
|
|
Loading…
Add table
Reference in a new issue