From 796d7b119540de2720ea8577632a03fef5dc59fa Mon Sep 17 00:00:00 2001 From: navaneeth Date: Sun, 30 May 2021 19:35:10 +0530 Subject: [PATCH] Fixed bug that caused null values for dyn vars in preview queries --- frontend/src/_helpers/appUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/_helpers/appUtils.js b/frontend/src/_helpers/appUtils.js index 0bb88f81a6..6785d98e7c 100644 --- a/frontend/src/_helpers/appUtils.js +++ b/frontend/src/_helpers/appUtils.js @@ -226,7 +226,7 @@ function getQueryVariables(options, state) { } export function previewQuery(_ref, query) { - const options = getQueryVariables(query.options, _ref.state.currentState); + const options = getQueryVariables(query.options, _ref.props.currentState); _ref.setState({ previewLoading: true });