diff --git a/bitmovin-analytics-datasource/src/components/QueryEditor.tsx b/bitmovin-analytics-datasource/src/components/QueryEditor.tsx index c6d9358..5702e8f 100644 --- a/bitmovin-analytics-datasource/src/components/QueryEditor.tsx +++ b/bitmovin-analytics-datasource/src/components/QueryEditor.tsx @@ -42,7 +42,7 @@ export function QueryEditor(props: Props) { const [isTimeSeries, setIsTimeSeries] = useState(!!props.query.interval); const [filterRows, setFilterRows] = useState([]); const isDimensionMetricSelected = useMemo(() => { - return props.query.metric != undefined; + return props.query.metric !== undefined; }, [props.query.metric]); useEffect(() => {