Skip to content

Commit

Permalink
fix: sanitize contract events (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek authored Oct 24, 2024
1 parent cf3c959 commit 2566580
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/ContractEventCellAllowance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
:link-to="`/accounts/${eventData[1]}`"/>

<price-label
v-if="contractDetails.tokenDetails"
:price="formatAettosToAe(tokenValue)"
:contract-id="contractDetails.tokenDetails.contractId"
:currency="contractDetails.symbol"/>
Expand Down
1 change: 1 addition & 0 deletions src/components/ContractEventCellBurn.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<price-label
v-if="contractDetails.tokenDetails"
:price="formatAettosToAe(tokenValue)"
:contract-id="contractDetails.tokenDetails.contractId"
:currency="contractDetails.symbol"/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ContractEventCellMint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<value-hash-ellipsed
:hash="eventData[0]"
:link-to="`/accounts/${eventData[0]}`"/>

<price-label
v-if="contractDetails.tokenDetails"
:price="formatAettosToAe(tokenValue)"
:contract-id="contractDetails.tokenDetails.contractId"
:currency="contractDetails.symbol"/>
Expand Down

0 comments on commit 2566580

Please sign in to comment.