Skip to content

Commit

Permalink
fix alias tile (#597)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicole O'Brien <[email protected]>
  • Loading branch information
MarkNerdi and nicole-obrien authored Sep 4, 2023
1 parent 5d98c27 commit ea6a9de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$: hasBaseCoinAmount = Number(baseCoinTransfer?.rawAmount) > 0
</script>

{#if baseCoinTransfer || tokenTransfer || nft}
{#if baseCoinTransfer || tokenTransfer || nft || aliasId}
<asset-section class="w-full flex flex-row gap-2 justify-between overflow-hidden">
{#if tokenTransfer?.token}
<TokenAmountTile token={tokenTransfer.token} amount={Number(tokenTransfer.rawAmount)} classes="flex-grow" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,9 @@ export function getTransactionAssets(
token: baseCoin,
},
}
} else if (activity.type === ActivityType.Alias) {
return {
aliasId: activity.aliasId,
}
}
}

0 comments on commit ea6a9de

Please sign in to comment.