mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 20:12:34 +02:00
chore: minor tweaks
This commit is contained in:
@@ -11,7 +11,7 @@ LNBITS_WITH_ONION=0
|
|||||||
# Choose from LNPayWallet, OpenNodeWallet, LntxbotWallet, LndWallet, CLightningWallet, LnbitsWallet
|
# Choose from LNPayWallet, OpenNodeWallet, LntxbotWallet, LndWallet, CLightningWallet, LnbitsWallet
|
||||||
LNBITS_BACKEND_WALLET_CLASS=LntxbotWallet
|
LNBITS_BACKEND_WALLET_CLASS=LntxbotWallet
|
||||||
|
|
||||||
CLIGHTNING_RPC="/home/arc/.lightning/bitcoin/lightning-rpc"
|
CLIGHTNING_RPC="/home/bob/.lightning/bitcoin/lightning-rpc"
|
||||||
|
|
||||||
LNBITS_ENDPOINT=127.0.0.1:5000
|
LNBITS_ENDPOINT=127.0.0.1:5000
|
||||||
LNBITS_INVOICE_MACAROON=LNBITS_INVOICE_MACAROON
|
LNBITS_INVOICE_MACAROON=LNBITS_INVOICE_MACAROON
|
||||||
|
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/**/static/vendor/ linguist-vendored
|
@@ -347,6 +347,6 @@ new Vue({
|
|||||||
if (!this.$q.localStorage.getItem('lnbits.disclaimerShown')) {
|
if (!this.$q.localStorage.getItem('lnbits.disclaimerShown')) {
|
||||||
this.disclaimerDialog.show = true;
|
this.disclaimerDialog.show = true;
|
||||||
this.$q.localStorage.set('lnbits.disclaimerShown', true);
|
this.$q.localStorage.set('lnbits.disclaimerShown', true);
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@@ -17,7 +17,7 @@ def api_payments():
|
|||||||
for payment in g.wallet.get_payments(include_all_pending=True):
|
for payment in g.wallet.get_payments(include_all_pending=True):
|
||||||
if payment.is_out:
|
if payment.is_out:
|
||||||
payment.set_pending(WALLET.get_payment_status(payment.checking_id).pending)
|
payment.set_pending(WALLET.get_payment_status(payment.checking_id).pending)
|
||||||
elif payment.is_in:
|
else:
|
||||||
payment.set_pending(WALLET.get_invoice_status(payment.checking_id).pending)
|
payment.set_pending(WALLET.get_invoice_status(payment.checking_id).pending)
|
||||||
|
|
||||||
return jsonify(g.wallet.get_payments()), Status.OK
|
return jsonify(g.wallet.get_payments()), Status.OK
|
||||||
|
@@ -102,13 +102,13 @@ var LNbits = {
|
|||||||
Quasar.plugins.Notify.create({
|
Quasar.plugins.Notify.create({
|
||||||
timeout: 5000,
|
timeout: 5000,
|
||||||
type: types[error.response.status] || 'warning',
|
type: types[error.response.status] || 'warning',
|
||||||
message: error.response.data.message || null,
|
message: error.response.data.message || null,
|
||||||
caption: [error.response.status, ' ', error.response.statusText].join('').toUpperCase() || null,
|
caption: [error.response.status, ' ', error.response.statusText].join('').toUpperCase() || null,
|
||||||
icon: null
|
icon: null
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
search: function (data, q, field, separator) {
|
search: function (data, q, field, separator) {
|
||||||
var field = field || '_q';
|
var field = field || '_q';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var queries = q.toLowerCase().split(separator || ' ');
|
var queries = q.toLowerCase().split(separator || ' ');
|
||||||
|
Reference in New Issue
Block a user