Skip to content

Commit

Permalink
Fix 'Uncaught TypeError: Cannot read property 'value' of undefined' a…
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored and Conglei Shi committed Jan 7, 2019
1 parent ab95442 commit d3a1b07
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 @@ -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: '',
Expand Down

0 comments on commit d3a1b07

Please sign in to comment.