This is an automated email from the ASF dual-hosted git repository.

ccwilliams 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 cb55668  do not convert value to lowercase when looking up color 
(#6384)
cb55668 is described below

commit cb556688ecf5198bf7780017a59215e15b1545b6
Author: Krist Wongsuphasawat <[email protected]>
AuthorDate: Tue Nov 13 13:44:43 2018 -0800

    do not convert value to lowercase when looking up color (#6384)
---
 superset/assets/src/visualizations/nvd3/utils.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/superset/assets/src/visualizations/nvd3/utils.js 
b/superset/assets/src/visualizations/nvd3/utils.js
index 80ed849..4940f7a 100644
--- a/superset/assets/src/visualizations/nvd3/utils.js
+++ b/superset/assets/src/visualizations/nvd3/utils.js
@@ -10,7 +10,6 @@ const TIME_SHIFT_PATTERN = /\d+ \w+ offset/;
 export function cleanColorInput(value) {
   // for superset series that should have the same color
   return String(value).trim()
-    .toLowerCase()
     .split(', ')
     .filter(k => !TIME_SHIFT_PATTERN.test(k))
     .join(', ');

Reply via email to