mirror of
https://github.com/grafana/grafana.git
synced 2026-08-08 04:15:01 -05:00
Chore: Fix trailing spaces in prometheus min step (#85507)
Fix trailing spaces in prometheus min step
This commit is contained in:
@@ -37,7 +37,7 @@ export const PromQueryBuilderOptions = React.memo<PromQueryBuilderOptionsProps>(
|
||||
};
|
||||
|
||||
const onChangeStep = (evt: React.FormEvent<HTMLInputElement>) => {
|
||||
onChange({ ...query, interval: evt.currentTarget.value });
|
||||
onChange({ ...query, interval: evt.currentTarget.value.trim() });
|
||||
onRunQuery();
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ export const PromQueryBuilderOptions = React.memo<Props>(({ query, app, onChange
|
||||
};
|
||||
|
||||
const onChangeStep = (evt: React.FormEvent<HTMLInputElement>) => {
|
||||
onChange({ ...query, interval: evt.currentTarget.value });
|
||||
onChange({ ...query, interval: evt.currentTarget.value.trim() });
|
||||
onRunQuery();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user