superset-commits mailing list archives

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

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


The following commit(s) were added to refs/heads/0.30 by this push:
     new f7df555  Fix 'Uncaught TypeError: Cannot read property 'value' of undefined' #6556
(#6574)
f7df555 is described below

commit f7df55547394f536d17a0cadb0dda7d9bf443f75
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
    
    (cherry picked from commit 68e9d2970a38ef3e7ce749d894eb14b57a6e67e8)
---
 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 1735e6c..2662851 100644
--- a/superset/assets/src/explore/controls.jsx
+++ b/superset/assets/src/explore/controls.jsx
@@ -329,7 +329,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