Fix 'Uncaught TypeError: Cannot read property 'value' of undefined' #6556 (#6574)

closes #6556
This commit is contained in:
Maxime Beauchemin 2019-01-07 09:22:07 -08:00 committed by Krist Wongsuphasawat
parent f291dae200
commit 68e9d2970a
1 changed files with 1 additions and 1 deletions

View File

@ -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: '',