From 7be3462ca464666aab66395b2988b0e8ca54a604 Mon Sep 17 00:00:00 2001 From: martinkrulltott Date: Fri, 29 Sep 2023 14:04:41 +0200 Subject: [PATCH] fix: revert commit fd5d2ac, which wasn't unnecessary after all --- src/components/VisualizationOptions/Options/MeasureCriteria.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VisualizationOptions/Options/MeasureCriteria.js b/src/components/VisualizationOptions/Options/MeasureCriteria.js index 8645cef1f3..a0c4a4bd36 100644 --- a/src/components/VisualizationOptions/Options/MeasureCriteria.js +++ b/src/components/VisualizationOptions/Options/MeasureCriteria.js @@ -96,7 +96,7 @@ class MeasureCriteria extends Component { } let [op1 = OP1_DEFAULT, v1 = EMPTY, op2 = OP2_DEFAULT, v2 = EMPTY] = - props.value.split(/[;:]/) + props.value && props.value.split(/[;:]/) if ( [LESS_THAN_OPERATOR_ID, LESS_THAN_OR_EQUAL_OPERATOR_ID].includes(