superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kri...@apache.org
Subject [incubator-superset] branch master updated: Fix 'Uncaught TypeError: Cannot read property 'value' of undefined' #6556 (#6574)
Date Mon, 07 Jan 2019 17:22:21 GMT
This is an automated email from the ASF dual-hosted git repository.

kristw 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 68e9d29  Fix 'Uncaught TypeError: Cannot read property 'value' of undefined' #6556
(#6574)
68e9d29 is described below

commit 68e9d2970a38ef3e7ce749d894eb14b57a6e67e8
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Mon Jan 7 09:22:07 2019 -0800

    Fix 'Uncaught TypeError: Cannot read property 'value' of undefined' #6556 (#6574)
    
    closes #6556
---
 superset/assets/src/explore/controls.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/explore/controls.jsx b/superset/assets/src/explore/controls.jsx
index 6dc2431..52785f5 100644
--- a/superset/assets/src/explore/controls.jsx
+++ b/superset/assets/src/explore/controls.jsx
@@ -338,7 +338,7 @@ export const controls = {
     label: t('Linear Color Scheme'),
     choices: () => sequentialSchemeRegistry
       .values()
-      .map(value => [value.name, value.label]),
+      .map(value => [value.id, value.label]),
     default: 'blue_white_yellow',
     clearable: false,
     description: '',


Mime
View raw message