diff --git a/desktop/plugins/public/ui-debugger/components/FrameworkEventsTable.tsx b/desktop/plugins/public/ui-debugger/components/FrameworkEventsTable.tsx index 2ce268bc2..fa05a353b 100644 --- a/desktop/plugins/public/ui-debugger/components/FrameworkEventsTable.tsx +++ b/desktop/plugins/public/ui-debugger/components/FrameworkEventsTable.tsx @@ -90,10 +90,9 @@ export function FrameworkEventsTable({ const customColumns = [...customColumnKeys].map( (customKey: string) => ({ - key: customKey, + key: `payload.${customKey}` as any, title: startCase(customKey), - onRender: (row: AugmentedFrameworkEvent) => row.payload?.[customKey], - powerSearchConfig: enumLikeString, + powerSearchConfig: stringConfig, } as DataTableColumn), ); @@ -169,12 +168,6 @@ const stringConfig = [ ]; const idConfig = [dataTablePowerSearchOperators.int_equals()]; -//todo replace with auto mode -const enumLikeString = [ - dataTablePowerSearchOperators.string_matches_exactly(true), - dataTablePowerSearchOperators.string_not_matches_exactly(true), -]; - const inferredEnum = [ dataTablePowerSearchOperators.enum_set_is_any_of({}), dataTablePowerSearchOperators.enum_is({}),