From 67b76bd4d13ef43edf87b80a301b06700c12f950 Mon Sep 17 00:00:00 2001 From: konstantinoschaitas Date: Wed, 27 Nov 2024 13:47:54 +0100 Subject: [PATCH] Fix NPA in line chart --- src/common/visualization-manifests/line-chart/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/visualization-manifests/line-chart/settings.ts b/src/common/visualization-manifests/line-chart/settings.ts index bcd79204f..95c0f2a01 100644 --- a/src/common/visualization-manifests/line-chart/settings.ts +++ b/src/common/visualization-manifests/line-chart/settings.ts @@ -34,7 +34,7 @@ const createSettings = (settings: Partial): ImmutableRecord) => settings.toJS(), + print: (settings: ImmutableRecord) => settings ? settings.toJS() : null, read: (input: LineChartSettings) => createSettings({ groupSeries: !!input.groupSeries }) }, defaults: createSettings({}) as ImmutableRecord