Skip to content

Commit

Permalink
Update superset-frontend/src/explore/components/controls/ColorSchemeC…
Browse files Browse the repository at this point in the history
…ontrol.jsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
  • Loading branch information
geido and michael-s-molina authored Oct 11, 2021
1 parent dbb7066 commit 935e943
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default class ColorSchemeControl extends React.PureComponent {
(this.props.default !== undefined ? this.props.default : undefined);

if (currentScheme === 'SUPERSET_DEFAULT') {
currentScheme = supersetDefaultSchemeId;
currentScheme = this.schemes?.SUPERSET_DEFAULT?.id;
}

const selectProps = {
Expand Down

0 comments on commit 935e943

Please sign in to comment.