Updated segment handling.

This commit is contained in:
Mike Cao committed 2025-07-31 02:33:35 -07:00
1 parent 554c627a58
commit fba7e12c36
13 files changed
+59 -90

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ export function parseParameterValue(param: any) {
if (typeof param === 'string') {
const [, operator, value] = param.match(/^([a-z]+)\.(.*)/) || [];
return { operator, value };
return { operator: operator || OPERATORS.equals, value: value || param };
}
return { operator: OPERATORS.equals, value: param };
}