fix ui bug

This commit is contained in:
Uthpala Heenatigala 2022-12-11 17:42:47 +01:00
parent 5cbe89632f
commit 663cee8fbe

View file

@ -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
}) })
}, },