diff --git a/bitmovin-analytics-datasource/src/components/QueryEditor.tsx b/bitmovin-analytics-datasource/src/components/QueryEditor.tsx index 6536213..15a0598 100644 --- a/bitmovin-analytics-datasource/src/components/QueryEditor.tsx +++ b/bitmovin-analytics-datasource/src/components/QueryEditor.tsx @@ -75,7 +75,7 @@ export function QueryEditor({ query, onChange, onRunQuery, datasource }: Props) }; const onLimitChange = (event: ChangeEvent) => { - const limit = parseInt(event.target.value); + const limit = parseInt(event.target.value, 10); onChange({ ...query, limit: isNaN(limit) ? undefined : limit }); onRunQuery(); };