mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(explore): switch to correct scheme registry for custom sequential color schemes (#15314)
* Switch to correct scheme registry for custom sequential color schemes * Linting
This commit is contained in:
@@ -58,7 +58,10 @@ export default function setupColors(
|
||||
|
||||
if (extraSequentialColorSchemes?.length > 0) {
|
||||
extraSequentialColorSchemes.forEach(scheme => {
|
||||
categoricalSchemeRegistry.registerValue(scheme.id, scheme);
|
||||
sequentialSchemeRegistry.registerValue(
|
||||
scheme.id,
|
||||
new SequentialScheme(scheme),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user