diff --git a/web/src/modules/transactions/detailed-transaction.tsx b/web/src/modules/transactions/detailed-transaction.tsx index f7d9458..6ba560d 100644 --- a/web/src/modules/transactions/detailed-transaction.tsx +++ b/web/src/modules/transactions/detailed-transaction.tsx @@ -53,6 +53,13 @@ export const DetailedTransaction: Component = (props) } }); + createEffect(() => { + const t = transaction(); + if (t && t.receipt == null) { + receiptAccordionControls.setIsOpened(true); + } + }); + const dashboardLocation = location.pathname.replace(/transactions\/\d+/, "").replace(/\/$/, ""); const transactionDetails = () => { @@ -116,10 +123,7 @@ export const DetailedTransaction: Component = (props) when={transaction()!.receipt} fallback={} > -
+