QueryOptions: Fix not being able to change cache timeout setting (#26614)

This commit is contained in:
Torkel Ödegaard 2020-07-27 20:25:49 +02:00 committed by GitHub
parent 76230215c5
commit cc0a8464ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,8 +160,8 @@ export class QueryOptions extends PureComponent<Props, State> {
placeholder="60" placeholder="60"
name={name} name={name}
spellCheck={false} spellCheck={false}
onBlur={this.onDataSourceOptionBlur('maxDataPoints')} onBlur={this.onDataSourceOptionBlur('cacheTimeout')}
onChange={this.onDataSourceOptionChange('maxDataPoints')} onChange={this.onDataSourceOptionChange('cacheTimeout')}
value={cacheTimeout} value={cacheTimeout}
/> />
</div> </div>