Skip to content

Commit

Permalink
Fix NPA in line chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinos-Chaitas-PubNative committed Nov 27, 2024
1 parent baf8384 commit 67b76bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/visualization-manifests/line-chart/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const createSettings = (settings: Partial<LineChartSettings>): ImmutableRecord<L

export const settings: LineChartVisualizationSettings = {
converter: {
print: (settings: ImmutableRecord<LineChartSettings>) => settings.toJS(),
print: (settings: ImmutableRecord<LineChartSettings>) => settings ? settings.toJS() : null,
read: (input: LineChartSettings) => createSettings({ groupSeries: !!input.groupSeries })
},
defaults: createSettings({}) as ImmutableRecord<object>
Expand Down

0 comments on commit 67b76bd

Please sign in to comment.