Skip to content

Commit

Permalink
Fix time shift color assignements
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed May 23, 2018
1 parent b312cda commit 32b2c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/assets/src/modules/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const getColorFromScheme = (function () {
const selectedScheme = scheme ? ALL_COLOR_SCHEMES[scheme] : ALL_COLOR_SCHEMES.bnbColors;
let stringifyS = String(s).toLowerCase();
// next line is for superset series that should have the same color
stringifyS = stringifyS.replace('---', '');
stringifyS = stringifyS.replace(' ---', '');

if (forcedColor && !forcedColors[stringifyS]) {
forcedColors[stringifyS] = forcedColor;
Expand Down

0 comments on commit 32b2c54

Please sign in to comment.