UpdateTableOptions with data chance instead of when queryASTs changes.

table/group-by
ebb-tide 2018-04-23 18:33:02 -07:00
parent 0c7ae2cca4
commit 9fd40c7a97
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class TableGraph extends Component {
const sortedLabels = _.get(result, 'sortedLabels', this.state.sortedLabels)
const fieldNames = computeFieldNames(tableOptions.fieldNames, sortedLabels)
if (_.includes(updatedProps, 'queryASTs')) {
if (_.includes(updatedProps, 'data')) {
this.handleUpdateTableOptions(fieldNames, tableOptions)
}