mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2026-10-12 05:08:31 +00:00
fix data structure
This commit is contained in:
1 parent
b0782ed74e
commit
b5d8851c44
1 file changed
+1
-1
@@ -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