Skip to content

Commit

Permalink
feat: internal Chain.spend values (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek committed Mar 26, 2024
1 parent 917856b commit 0b20a49
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
<value-hash-ellipsed
:hash="activityPayload.contractId"
:link-to="`/contracts/${activityPayload.contractId}`"/>
<template v-if="activityPayload.function === 'Chain.spend'">
<transaction-arrow-right-icon/>
<app-chip size="sm">
{{ formatAePrice(formatAettosToAe(activityPayload.internalTx.amount)) }}
</app-chip>
</template>
<app-chip size="sm">
{{ activityPayload.function }}
</app-chip>
</template>

<script setup>
Expand Down

0 comments on commit 0b20a49

Please sign in to comment.