Skip to content

Commit

Permalink
fix: show gasCost if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
CedrikNikita committed Jun 28, 2024
1 parent 8ea081a commit 6c7ae0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/popup/components/Modals/ConfirmTransactionSign.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</template>
</DetailsItem>
<DetailsItem
v-if="gasCost"
v-if="+gasCost"
:label="$t('transaction.gasCost')"
data-cy="gas-cost"
>
Expand Down Expand Up @@ -478,7 +478,7 @@ export default defineComponent({
}
async function verifyTransaction() {
if (popupProps.value?.txBase64) {
if (popupProps.value?.txBase64 && protocol === PROTOCOLS.aeternity) {
try {
verifying.value = true;
const sdk = await getAeSdk();
Expand Down

0 comments on commit 6c7ae0a

Please sign in to comment.