mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Fix trailing spaces in prometheus min step (#85507)
Fix trailing spaces in prometheus min step
This commit is contained in:
parent
f387cff836
commit
4e60f44d98
@ -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();
|
||||
};
|
||||
|
||||
|
@ -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();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user