From 93b18a0791b2c5514d1d08231e9b75e3834af3db Mon Sep 17 00:00:00 2001 From: sb-cecilialiu Date: Wed, 4 Dec 2024 11:13:18 -0600 Subject: [PATCH] MAT-7794 fix comment not shown issue --- src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx b/src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx index 630d5d18..602df0f3 100644 --- a/src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx +++ b/src/CqlBuilderPanel/functionsSection/FunctionsSection.tsx @@ -44,7 +44,7 @@ export default function FunctionsSection({ .map((func) => { // get the comments for CQL definition from antlr parser expressions const expression = expressionDefinitions.find( - (expression) => func.logic == expression.text?.replace(/["']/g, "") + (expression) => func.logic == expression.text ); return { ...func,