check if token already received
This commit is contained in:
parent
8dd7b8c425
commit
ef2b4b4194
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue