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 (column.type === FieldType.NUMBER) {
|
||||||
if (key === "oneOf") {
|
if (key === "oneOf") {
|
||||||
|
// @ts-ignore TODO
|
||||||
searchParam[property] = value
|
searchParam[property] = value
|
||||||
.split(",")
|
.split(",")
|
||||||
.map(item => parseFloat(item))
|
.map(item => parseFloat(item))
|
||||||
} else {
|
} else {
|
||||||
|
// @ts-ignore TODO
|
||||||
searchParam[property] = parseFloat(value)
|
searchParam[property] = parseFloat(value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue