Make float term editable

Summary: For the purposes of the demo I added power search config for a float field to the summary field

Reviewed By: lblasa

Differential Revision: D49452844

fbshipit-source-id: 26aaadd07a1a8a67dfcf3cb9d8e487f8f4ee2214
This commit is contained in:
Andrey Goncharov
2023-09-20 04:36:57 -07:00
committed by Facebook GitHub Bot
parent 31e93ff3fe
commit e180a1ed4b
3 changed files with 52 additions and 25 deletions

View File

@@ -73,7 +73,7 @@ export const dataTablePowerSearchOperators = {
key: 'int_less_or_equal',
valueType: 'INTEGER',
}),
float_equals: (precision: number) => ({
float_equals: (precision?: number) => ({
label: '=',
key: 'float_equals',
valueType: 'FLOAT',