Skip to content

Commit

Permalink
Fix 'Uncaught TypeError: Cannot read property 'value' of undefined' #…
Browse files Browse the repository at this point in the history
…6556 (#6574)

closes #6556

(cherry picked from commit 68e9d29)
  • Loading branch information
mistercrunch authored and xtinec committed Feb 4, 2019
1 parent c826b31 commit f7df555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/assets/src/explore/controls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
Expand Down

0 comments on commit f7df555

Please sign in to comment.