chore: minor tweaks

This commit is contained in:
Eneko Illarramendi
2020-04-21 23:47:21 +02:00
parent d90ae26062
commit b1da103080
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -347,6 +347,6 @@ new Vue({
if (!this.$q.localStorage.getItem('lnbits.disclaimerShown')) {
this.disclaimerDialog.show = true;
this.$q.localStorage.set('lnbits.disclaimerShown', true);
};
}
}
});
+1 -1
View File
@@ -17,7 +17,7 @@ def api_payments():
for payment in g.wallet.get_payments(include_all_pending=True):
if payment.is_out:
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)
return jsonify(g.wallet.get_payments()), Status.OK