Skip to content

Commit

Permalink
Merge pull request #2079 from /issues/2062
Browse files Browse the repository at this point in the history
Correctly handle colors change on treemap
  • Loading branch information
parmentf authored Jul 4, 2024
2 parents 64083a6 + d487ac4 commit 8b779ae
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/app/js/formats/vega/component/tree-map/TreeMapAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
FormatDataParamsFieldSet,
} from '../../../utils/components/field-set/FormatFieldSets';
import {
Box,
FormControlLabel,
FormGroup,
MenuItem,
Expand Down Expand Up @@ -139,11 +138,7 @@ const TreeMapAdmin = (props) => {
};

const handleColors = (colors) => {
updateAdminArgs(
'colors',
colors.split(' ') || defaultArgs.colors,
props,
);
updateAdminArgs('colors', colors || defaultArgs.colors, props);
};

const handleLayout = (e) => {
Expand Down

0 comments on commit 8b779ae

Please sign in to comment.