Skip to content

Commit

Permalink
fix: Name fee is empty (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek authored Apr 25, 2024
1 parent 59d6f36 commit a5ee669
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/components/AccountActivityDataCellNameClaimTxEvent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<app-link :to="`/names/${activity.payload.tx.name}`">
{{ activity.payload.tx.name }}
</app-link>
<app-chip size="sm">
<app-chip
v-if="activity.payload.tx.nameFee"
size="sm">
{{ formatAePrice(formatAettosToAe(activity.payload.tx.nameFee)) }}
</app-chip>
</template>
Expand Down
4 changes: 3 additions & 1 deletion src/components/NameHistoryDataCellNameClaimEvent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
:link-to="`/accounts/${payload.tx.accountId}`"/>

<app-tooltip>
<app-chip size="sm">
<app-chip
v-if="formatAettosToAe(payload.tx.nameFee)"
size="sm">
{{ formatAePrice(formatAettosToAe(payload.tx.nameFee), null) }}
</app-chip>
<template #tooltip>
Expand Down
4 changes: 3 additions & 1 deletion src/components/TransactionCellNameClaimTx.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
{{ transactionData.name }}
</app-link>
</span>
<app-chip size="sm">
<app-chip
v-if="transactionData.nameFee"
size="sm">
{{ formatAePrice(formatAettosToAe(transactionData.nameFee)) }}
</app-chip>
</template>
Expand Down
4 changes: 3 additions & 1 deletion src/components/TransactionTypeTableNameClaimTx.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
</app-link>
</td>
</tr>
<tr class="transaction-type-panel-name-claim-tx__row">
<tr
v-if="transactionData.nameFee"
class="transaction-type-panel-name-claim-tx__row">
<th class="transaction-type-panel-name-claim-tx__table-header">
Activation Price
<hint-tooltip>
Expand Down

0 comments on commit a5ee669

Please sign in to comment.