Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
fix: improve input validation for time bucket size
Browse files Browse the repository at this point in the history
  • Loading branch information
DaruZero committed Oct 26, 2022
1 parent d76ff79 commit c3cc143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "umh-v2-datasource",
"version": "1.0.32",
"version": "1.0.33",
"description": "This plugin provides a datasource for connecting with factoryinsight",
"scripts": {
"build": "grafana-toolkit plugin:build",
Expand Down
4 changes: 2 additions & 2 deletions src/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,8 @@ export class QueryEditor extends PureComponent<Props> {
/>
<InlineField
label={'Size'}
invalid={this.isStringValidNumber(this.selectedTimeBucketSize)}
error={'This input is required and must be a valid number'}
// invalid={this.isStringValidNumber(this.selectedTimeBucketSize)}
// error={'This input is required and must be a valid number'}
disabled={!this.timeBucketEnabled}
>
<Input label={'Size'} value={this.selectedTimeBucketSize} onChange={this.onTimeBucketSizeChange} />
Expand Down

0 comments on commit c3cc143

Please sign in to comment.