Skip to content

Commit

Permalink
Click on button instead of li
Browse files Browse the repository at this point in the history
  • Loading branch information
Wapaca committed Jan 13, 2023
1 parent 3566e00 commit 4749583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/modals/MultiTx.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<h2>Sign transactions</h2>
<p>Please sign several transactions</p>
<ul>
<li @click="(results[i] !== 'sent') ? sendTx(i) : null" v-for="(acts, i) in actions">
<li v-for="(acts, i) in actions">
<span>Transaction {{ i + 1 }}</span>
<div v-if="results[i] === 'loading'"><ClipLoader color="#ff00ec"/></div>
<div v-else-if="results[i] === 'sent'"><fa-icon :icon="['fas','check']" /></div>
<button v-else class="neon-button">Sign</button>
<button @click="sendTx(i)" v-else class="neon-button">Sign</button>
</li>
</ul>
</div>
Expand Down

0 comments on commit 4749583

Please sign in to comment.