From 31d3566ed50bbf3e43c3ecbd6be367b3c805682d Mon Sep 17 00:00:00 2001 From: Mononaut Date: Fri, 15 Mar 2024 09:35:08 +0000 Subject: [PATCH] Fix tx push unfurl preview --- .../components/push-transaction/push-transaction.component.ts | 2 +- unfurler/src/routes.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/push-transaction/push-transaction.component.ts b/frontend/src/app/components/push-transaction/push-transaction.component.ts index a85cd47db..2fbe356e8 100644 --- a/frontend/src/app/components/push-transaction/push-transaction.component.ts +++ b/frontend/src/app/components/push-transaction/push-transaction.component.ts @@ -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() { diff --git a/unfurler/src/routes.ts b/unfurler/src/routes.ts index e7dce9398..1b7b257bf 100644 --- a/unfurler/src/routes.ts +++ b/unfurler/src/routes.ts @@ -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) {