diff --git a/web-console/src/react-table/react-table-inputs.tsx b/web-console/src/react-table/react-table-inputs.tsx index 59587ce8cc7..4be942cd79f 100644 --- a/web-console/src/react-table/react-table-inputs.tsx +++ b/web-console/src/react-table/react-table-inputs.tsx @@ -94,19 +94,18 @@ export function GenericFilterInput({ column, filter, onChange, key }: FilterRend } export function BooleanFilterInput({ filter, onChange, key }: FilterRendererProps) { - const filterValue = filter ? filter.value : ''; return ( onChange(event.target.value)} - value={filterValue || 'all'} + value={filter?.value || ''} fill > - - - + + + ); } diff --git a/web-console/src/views/segments-view/segments-view.tsx b/web-console/src/views/segments-view/segments-view.tsx index 453b5d8169c..36dd94e4263 100644 --- a/web-console/src/views/segments-view/segments-view.tsx +++ b/web-console/src/views/segments-view/segments-view.tsx @@ -199,7 +199,7 @@ export class SegmentsView extends React.PureComponent