mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Fix bug
This commit is contained in:
parent
f1832d1164
commit
f8b654de60
@ -40,7 +40,7 @@ draft: false
|
||||
const vals=uniq(window.dats.map((d)=>{return d[$(this).attr("name")]}))
|
||||
for (const val of vals){
|
||||
op=document.createElement("option")
|
||||
op.value=val
|
||||
op.value=JSON.stringify(val)
|
||||
op.innerText=val.toString()
|
||||
$(this).append(op)
|
||||
}
|
||||
@ -55,7 +55,7 @@ draft: false
|
||||
if(typeof values=="undefined" || values==null){
|
||||
return false
|
||||
}
|
||||
return values.map((v)=>JSON.stringify(v)).includes(JSON.stringify(d[prop]))
|
||||
return values.includes(JSON.stringify(d[prop]))
|
||||
})
|
||||
})
|
||||
var tb=document.getElementById("table_b");
|
||||
|
Loading…
Reference in New Issue
Block a user