From 6f93a81be0633aedc4473f9bad2c37926cf18fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 27 Jul 2020 20:25:49 +0200 Subject: [PATCH] QueryOptions: Fix not being able to change cache timeout setting (#26614) (cherry picked from commit cc0a8464ff1ab1427ba21da5558a3ab3dc5fddf8) --- public/app/features/dashboard/panel_editor/QueryOptions.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/dashboard/panel_editor/QueryOptions.tsx b/public/app/features/dashboard/panel_editor/QueryOptions.tsx index 62b9c3d3cd7..3c4495b80dd 100644 --- a/public/app/features/dashboard/panel_editor/QueryOptions.tsx +++ b/public/app/features/dashboard/panel_editor/QueryOptions.tsx @@ -160,8 +160,8 @@ export class QueryOptions extends PureComponent { placeholder="60" name={name} spellCheck={false} - onBlur={this.onDataSourceOptionBlur('maxDataPoints')} - onChange={this.onDataSourceOptionChange('maxDataPoints')} + onBlur={this.onDataSourceOptionBlur('cacheTimeout')} + onChange={this.onDataSourceOptionChange('cacheTimeout')} value={cacheTimeout} />