Fixed bug that caused null values for dyn vars in preview queries

This commit is contained in:
navaneeth 2021-05-30 19:35:10 +05:30
parent ccd5c3c1c4
commit 796d7b1195

View file

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