mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-09-05 14:37:21 +00:00
fix data structure
This commit is contained in:
@@ -89,7 +89,7 @@ function cnt(tn) {
|
||||
function checkKeyMatch(dt,tn,key){
|
||||
for(i=0; i<Object.keys(dt).length; i++){
|
||||
if (Object.keys(dt)[i]=="code-"+key){
|
||||
if (dt[Object.keys(dt)[i]]==tn){
|
||||
if (dt[Object.keys(dt)[i]]=="team-"+tn){
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user