mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-29 05:12:39 +02:00
check if token already received
This commit is contained in:
@@ -2153,7 +2153,7 @@ page_container %}
|
|||||||
let seen = false
|
let seen = false
|
||||||
for (var i = 0; i < this.historyTokens.length; i++) {
|
for (var i = 0; i < this.historyTokens.length; i++) {
|
||||||
var thisToken = this.historyTokens[i].token
|
var thisToken = this.historyTokens[i].token
|
||||||
if (thisToken == tokenBase64) {
|
if (thisToken == tokenBase64 && this.historyTokens[i].amount > 0) {
|
||||||
seen = true
|
seen = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user