diff --git a/frontend/src/components/query/query-builder/steps/filter/filter-condition-adder.tsx b/frontend/src/components/query/query-builder/steps/filter/filter-condition-adder.tsx index fc8aa9b..c49c1c5 100644 --- a/frontend/src/components/query/query-builder/steps/filter/filter-condition-adder.tsx +++ b/frontend/src/components/query/query-builder/steps/filter/filter-condition-adder.tsx @@ -166,7 +166,7 @@ export default function FilterConditionAdder({ roleStructure="listoption" selected={valueType === type} shouldDismissPopover={true} - text={type.charAt(0).toUpperCase() + type.slice(1)} + text={_.capitalize(type)} onClick={handleClick} /> );