Skip to content

Commit

Permalink
[bugfix] add item is missing on table editor metrics tab (#5714)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Aug 24, 2018
1 parent 2abc941 commit 14930bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/assets/src/datasource/DatasourceEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ export class DatasourceEditor extends React.PureComponent {
</FormContainer>
}
collection={this.state.datasource.metrics}
allowAddItem
onChange={this.onDatasourcePropChange.bind(this, 'metrics')}
itemGenerator={() => ({
metric_name: '<new metric>',
Expand Down

0 comments on commit 14930bb

Please sign in to comment.