Skip to content

Commit

Permalink
Show createResrouce txid even if it's not in wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
DanGould committed Apr 6, 2024
1 parent 729cc0c commit afe1b1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ActivityDetailsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,7 @@ export function ActivityDetailsModal(props: {
} else {
console.debug("reading tx: ", id());
const tx = await state.mutiny_wallet?.get_transaction(id());

return tx;
return tx !== null ? tx : id(); // if no tx found still show id
}
} catch (e) {
console.error(e);
Expand Down

0 comments on commit afe1b1d

Please sign in to comment.