Skip to content

Commit

Permalink
fix: undefined error when adding extra sequential color scheme (apach…
Browse files Browse the repository at this point in the history
…e#18152)

(cherry picked from commit c77d24c)
  • Loading branch information
kgabryje authored and jinghua-qa committed Jan 25, 2022
1 parent 04c7437 commit 37a5a16
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions superset-frontend/src/setup/setupColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
}

0 comments on commit 37a5a16

Please sign in to comment.