diff --git a/lnbits/core/static/js/wallet.js b/lnbits/core/static/js/wallet.js
index 4f602fa0..27e28ed2 100644
--- a/lnbits/core/static/js/wallet.js
+++ b/lnbits/core/static/js/wallet.js
@@ -133,7 +133,8 @@ new Vue({
],
pagination: {
rowsPerPage: 10
- }
+ },
+ filter: null
},
paymentsChart: {
show: false
@@ -141,6 +142,12 @@ new Vue({
};
},
computed: {
+ filteredPayments: function () {
+ var q = this.paymentsTable.filter;
+ if (!q || q == '') return this.payments;
+
+ return LNbits.utils.search(this.payments, q);
+ },
balance: function () {
if (this.payments.length) {
return _.pluck(this.payments, 'amount').reduce(function (a, b) { return a + b; }, 0) / 1000;
diff --git a/lnbits/core/templates/core/wallet.html b/lnbits/core/templates/core/wallet.html
index f205b6d0..1ff3f58f 100644
--- a/lnbits/core/templates/core/wallet.html
+++ b/lnbits/core/templates/core/wallet.html
@@ -49,7 +49,7 @@
-
+
Transactions
@@ -63,8 +63,12 @@
+
+
@@ -160,8 +164,8 @@
-
-
+
+
diff --git a/lnbits/extensions/withdraw/models.py b/lnbits/extensions/withdraw/models.py
index 5a1c2115..a719b85d 100644
--- a/lnbits/extensions/withdraw/models.py
+++ b/lnbits/extensions/withdraw/models.py
@@ -42,5 +42,5 @@ class WithdrawLink(NamedTuple):
k1=self.k1,
min_withdrawable=self.min_withdrawable * 1000,
max_withdrawable=self.max_withdrawable * 1000,
- default_description="LNbits LNURL withdraw",
+ default_description="#withdraw LNbits LNURL",
)
diff --git a/lnbits/extensions/withdraw/static/js/index.js b/lnbits/extensions/withdraw/static/js/index.js
index f5da36ef..a5e2b333 100644
--- a/lnbits/extensions/withdraw/static/js/index.js
+++ b/lnbits/extensions/withdraw/static/js/index.js
@@ -161,9 +161,7 @@ new Vue({
if (this.g.user.wallets.length) {
var getWithdrawLinks = this.getWithdrawLinks;
getWithdrawLinks();
- /*setInterval(function(){
- getWithdrawLinks();
- }, 20000);*/
+ setInterval(function () { getWithdrawLinks(); }, 20000);
}
}
});