[v11.0.x] Chore: Fix trailing spaces in prometheus min step (#85579)
Chore: Fix trailing spaces in prometheus min step (#85507)
Fix trailing spaces in prometheus min step
(cherry picked from commit 4e60f44d98)
Co-authored-by: Eunice Kim <kimeuni@amazon.com>
This commit is contained in:
co-authored by
Eunice Kim
parent
2be8e4334b
commit
46088003a4
@@ -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