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