Skip to content

Commit

Permalink
Now the boolean queries show false boolean value
Browse files Browse the repository at this point in the history
  • Loading branch information
Viterbo committed May 29, 2024
1 parent f82b350 commit 8817abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ContractTab/FunctionInterface.vue
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ export default defineComponent({
<p class="text-negative output-container">
{{ errorMessage }}
</p>
<div v-if="result" class="output-container">
<div v-if="result !== null" class="output-container">
{{ $t('components.contract_tab.result') }} ({{ abi?.outputs.length > 0 ? abi.outputs[0].type : '' }}):
<router-link v-if="abi?.outputs?.[0]?.type === 'address'" :to="`/address/${result}`" >{{ result }}</router-link>
<template v-else>{{ result }}</template>
Expand Down

0 comments on commit 8817abc

Please sign in to comment.