Skip to content

Commit

Permalink
Merge pull request #3142 from superhero-com/feature/show-gas-cost-onl…
Browse files Browse the repository at this point in the history
…y-if-exists

fix: show gasCost if exists
  • Loading branch information
CedrikNikita authored Jun 28, 2024
2 parents c0684d3 + 6c7ae0a commit 389c1c6
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 389c1c6

Please sign in to comment.