From 5f56ef530a030f0a9e4940873afa8b5b18e318c7 Mon Sep 17 00:00:00 2001 From: navaneeth Date: Wed, 26 May 2021 21:19:33 +0530 Subject: [PATCH] Fix for new queries not being added to query-selector --- frontend/src/Editor/Inspector/Components/Table.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Editor/Inspector/Components/Table.jsx b/frontend/src/Editor/Inspector/Components/Table.jsx index 2b3d37c0a1..1614f95eea 100644 --- a/frontend/src/Editor/Inspector/Components/Table.jsx +++ b/frontend/src/Editor/Inspector/Components/Table.jsx @@ -223,7 +223,7 @@ class Table extends React.Component { eventMeta={{ displayName: 'On click' }} definition={action.onClick} eventUpdated={this.actionButtonEventUpdated} - dataQueries={this.state.dataQueries} + dataQueries={this.props.dataQueries} eventOptionUpdated={this.actionButtonEventOptionUpdated} currentState={this.state.currentState} extraData={{ actionButton: action, index: index }} // This data is returned in the callbacks