From e14015e786e2781475553e92e8a3aa7413f537e3 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Fri, 24 Aug 2018 11:44:40 -0700 Subject: [PATCH] [bugfix] add item is missing on table editor metrics tab (#5714) --- superset/assets/src/datasource/DatasourceEditor.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/assets/src/datasource/DatasourceEditor.jsx b/superset/assets/src/datasource/DatasourceEditor.jsx index 10523eaf90666..df03ea768fc08 100644 --- a/superset/assets/src/datasource/DatasourceEditor.jsx +++ b/superset/assets/src/datasource/DatasourceEditor.jsx @@ -456,6 +456,7 @@ export class DatasourceEditor extends React.PureComponent { } collection={this.state.datasource.metrics} + allowAddItem onChange={this.onDatasourcePropChange.bind(this, 'metrics')} itemGenerator={() => ({ metric_name: '',