superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: [bugfix] add item is missing on table editor metrics tab (#5714)
Date Fri, 24 Aug 2018 18:44:43 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 14930bb  [bugfix] add item is missing on table editor metrics tab (#5714)
14930bb is described below

commit 14930bbddbb89df9d90ed8b436799b5205e11e32
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Fri Aug 24 11:44:40 2018 -0700

    [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 10523ea..df03ea7 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 {
           </FormContainer>
         }
         collection={this.state.datasource.metrics}
+        allowAddItem
         onChange={this.onDatasourcePropChange.bind(this, 'metrics')}
         itemGenerator={() => ({
           metric_name: '<new metric>',


Mime
View raw message