mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix: undefined error when adding extra sequential color scheme (#18152)
This commit is contained in:
committed by
GitHub
parent
350da92f98
commit
c77d24cda3
@@ -78,11 +78,7 @@ export default function setupColors(
|
||||
registerColorSchemes(
|
||||
// @ts-ignore
|
||||
getSequentialSchemeRegistry(),
|
||||
[
|
||||
...SequentialCommon,
|
||||
...SequentialD3,
|
||||
...extraSequentialColorSchemes.map(s => new SequentialScheme(s)),
|
||||
],
|
||||
[...SequentialCommon, ...SequentialD3, ...extraSequentialColorSchemes],
|
||||
'superset_seq_1',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user