From 6647ef7ccb9e6ba36857a542cf5ac1ad35a1697c 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) (cherry picked from commit 14930bbddbb89df9d90ed8b436799b5205e11e32) --- 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: '',