[bugfix] add item is missing on table editor metrics tab (#5714)
This commit is contained in:
parent
2abc941801
commit
14930bbddb
|
|
@ -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>',
|
||||
|
|
|
|||
Loading…
Reference in New Issue