Chore: Fix trailing spaces in prometheus min step (#85507)

Fix trailing spaces in prometheus min step
This commit is contained in:
Eunice Kim
2024-04-04 04:14:49 -07:00
committed by GitHub
parent f387cff836
commit 4e60f44d98
2 changed files with 2 additions and 2 deletions

View File

@@ -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();
};