livestream extension.

(except docs)
This commit is contained in:
fiatjaf
2021-04-11 00:44:55 -03:00
parent 10671e5732
commit 76199c66a1
16 changed files with 1086 additions and 4 deletions
+3 -3
View File
@@ -370,9 +370,9 @@ async def check_internal(
) -> Optional[str]:
row = await (conn or db).fetchone(
"""
SELECT checking_id FROM apipayments
WHERE hash = ? AND pending AND amount > 0
""",
SELECT checking_id FROM apipayments
WHERE hash = ? AND pending AND amount > 0
""",
(payment_hash,),
)
if not row:
+3
View File
@@ -211,6 +211,9 @@ new Vue({
}
},
methods: {
paymentTableRowKey: function (row) {
return row.payment_hash + row.amount
},
closeCamera: function () {
this.parse.camera.show = false
},
+2 -1
View File
@@ -87,9 +87,10 @@
dense
flat
:data="filteredPayments"
row-key="payment_hash"
:row-key="paymentTableRowKey"
:columns="paymentsTable.columns"
:pagination.sync="paymentsTable.pagination"
no-data-label="No transactions made yet"
>
{% raw %}
<template v-slot:header="props">