Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] HeatmapHighChart: Prioritize configOverride over defaultOptions #1490

Merged
merged 4 commits into from
Jun 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[Bugfix] HeatmapHighChart: Prioritize configOverride over defaultOptions
ms-kashyap committed Jun 13, 2022
commit 9cfca0d696531d5395ae4d3def3c26cfa249b3e3
2 changes: 1 addition & 1 deletion libs/core-ui/src/lib/Highchart/HeatmapHighChart.tsx
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ export class HeatmapHighChart extends React.Component<ICommonChartProps> {
public render(): React.ReactNode {
const defaultOptions = getDefaultHighchartOptions(getTheme());
const { className, id, fallback, configOverride = {}, theme } = this.props;
const chartOptions = _.merge({}, configOverride, defaultOptions);
const chartOptions = _.merge({}, defaultOptions, configOverride);

return (
<HighchartWrapper