check if token already received

This commit is contained in:
callebtc
2022-11-06 13:03:57 +01:00
committed by dni ⚡
parent a6669fa78b
commit 2ee2de6694

View File

@@ -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
}
}