UpdateTableOptions with data chance instead of when queryASTs changes.
parent
0c7ae2cca4
commit
9fd40c7a97
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue