Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fix: do not show the footer on the last step of delegate registration…
Browse files Browse the repository at this point in the history
… and second passphrase (#410)
  • Loading branch information
j-a-m-l authored and luciorubeens committed Oct 19, 2018
1 parent 1b2afd2 commit cc04179
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/Transaction/TransactionModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/>

<portal-target
v-if="step === 0"
slot="footer"
name="transaction-footer"
/>
Expand Down Expand Up @@ -58,6 +59,7 @@ export default {
},
data: () => ({
step: 0,
transaction: null
}),
Expand All @@ -72,10 +74,12 @@ export default {
methods: {
onBuilt (transaction) {
this.step = 1
this.transaction = transaction
},
onBack () {
this.step = 0
this.transaction = null
},
Expand Down

0 comments on commit cc04179

Please sign in to comment.