Add todo for types
This commit is contained in:
parent
1e6bb7ebd7
commit
b9c1aa05b0
|
@ -114,10 +114,12 @@ function typeCoercion(filters: SearchFilters, table: Table) {
|
|||
}
|
||||
if (column.type === FieldType.NUMBER) {
|
||||
if (key === "oneOf") {
|
||||
// @ts-ignore TODO
|
||||
searchParam[property] = value
|
||||
.split(",")
|
||||
.map(item => parseFloat(item))
|
||||
} else {
|
||||
// @ts-ignore TODO
|
||||
searchParam[property] = parseFloat(value)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue