fix ui bug
This commit is contained in:
@@ -223,12 +223,12 @@
|
|||||||
showLnToBtcForm() {
|
showLnToBtcForm() {
|
||||||
this.getSuggestedOnChainFees()
|
this.getSuggestedOnChainFees()
|
||||||
this.swapLnToBtc.show = true
|
this.swapLnToBtc.show = true
|
||||||
|
this.swapBtcToLn.show = false
|
||||||
},
|
},
|
||||||
getSuggestedOnChainFees() {
|
getSuggestedOnChainFees() {
|
||||||
axios
|
axios
|
||||||
.get('https://mempool.space/api/v1/fees/recommended')
|
.get('https://mempool.space/api/v1/fees/recommended')
|
||||||
.then(result => {
|
.then(result => {
|
||||||
console.log(result.data)
|
|
||||||
this.swapLnToBtc.suggested_fees = result.data
|
this.swapLnToBtc.suggested_fees = result.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user