removed withdraw from frontend

This commit is contained in:
benarc 2024-02-02 02:39:40 +00:00
parent 805003d08c
commit 020524dbd5
2 changed files with 5 additions and 13 deletions

View file

@ -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) {

View file

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