fix: having white space is removed (#4025)

This commit is contained in:
Palash Gupta 2023-11-22 19:50:04 +05:30 committed by GitHub
parent a578f9509a
commit d9950d9223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ function HavingFilter({ formula, onChange }: HavingFilterProps): JSX.Element {
currentFormValue.value,
);
const columnName = formula.expression.toUpperCase();
const columnName = formula.expression.replace(/ /g, '').toUpperCase();
const aggregatorOptions: SelectOption<string, string>[] = useMemo(
() => [{ label: columnName, value: columnName }],