removed withdraw from frontend
This commit is contained in:
parent
805003d08c
commit
020524dbd5
2 changed files with 5 additions and 13 deletions
|
|
@ -427,7 +427,7 @@
|
|||
}
|
||||
frame()
|
||||
},
|
||||
connectWebocket(id) {
|
||||
connectWebocket(wallet_id) {
|
||||
//////////////////////////////////////////////////
|
||||
///wait for pay action to happen and do a thing////
|
||||
///////////////////////////////////////////////////
|
||||
|
|
@ -439,7 +439,7 @@
|
|||
':' +
|
||||
location.port +
|
||||
'/api/v1/ws/' +
|
||||
id
|
||||
wallet_id
|
||||
} else {
|
||||
localUrl =
|
||||
'ws://' +
|
||||
|
|
@ -447,7 +447,7 @@
|
|||
':' +
|
||||
location.port +
|
||||
'/api/v1/ws/' +
|
||||
id
|
||||
wallet_id
|
||||
}
|
||||
this.connection = new WebSocket(localUrl)
|
||||
this.connection.onmessage = function (e) {
|
||||
|
|
|
|||
|
|
@ -24,10 +24,6 @@
|
|||
<q-btn outline style="color: primmary;" @click="qrValue = '{{ lnurlpay }}'">lnurlpay</q-btn>
|
||||
|
||||
</div>
|
||||
<div class="col col-md-auto">
|
||||
<q-btn outline style="color: primmary;" @click="qrValue = '{{ lnurlwithdraw }}'">lnurlwithdraw</q-btn>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</q-card>
|
||||
|
|
@ -108,17 +104,13 @@
|
|||
if (location.protocol !== 'http:') {
|
||||
localUrl =
|
||||
'wss://' +
|
||||
document.domain +
|
||||
':' +
|
||||
location.port +
|
||||
location.host +
|
||||
'/api/v1/ws/' +
|
||||
id
|
||||
} else {
|
||||
localUrl =
|
||||
'ws://' +
|
||||
document.domain +
|
||||
':' +
|
||||
location.port +
|
||||
location.host +
|
||||
'/api/v1/ws/' +
|
||||
id
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue