forked from LaconicNetwork/cosmos-explorer
Merge branch 're-implement-operation-modal' of https://github.com/ping-pub/explorer into re-implement-operation-modal
This commit is contained in:
@@ -137,6 +137,7 @@ export default {
|
||||
if (res.code === 0) {
|
||||
this.succeed = true
|
||||
clearInterval(this.timer)
|
||||
window.location.reload()
|
||||
} else if (res.code !== 3) { // code 3 is tx unconfirmed(not founded).
|
||||
this.error = res.raw_log
|
||||
clearInterval(this.timer)
|
||||
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
availableAddress: [],
|
||||
validators: [],
|
||||
unbundValidators: [],
|
||||
selectedValidator: null,
|
||||
selectedValidator: this.validatorAddress,
|
||||
token: '',
|
||||
amount: null,
|
||||
selectedChain: '',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<b-modal
|
||||
id="operation-modal"
|
||||
:id="modalId"
|
||||
centered
|
||||
size="md"
|
||||
:title="modalTitle"
|
||||
@@ -216,6 +216,10 @@ export default {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
modalId: {
|
||||
type: String,
|
||||
default: 'operation-modal',
|
||||
},
|
||||
validatorAddress: {
|
||||
type: String,
|
||||
default: null,
|
||||
|
||||
Reference in New Issue
Block a user