From 954ca321b835aac6eee805c7ba5d905f46240102 Mon Sep 17 00:00:00 2001 From: Jovan Cvetkovic Date: Tue, 22 Nov 2022 15:11:30 +0100 Subject: [PATCH] [FEATURE] Overview | Update stats to use EUI stats component #156 Signed-off-by: Jovan Cvetkovic --- public/pages/Overview/utils/helpers.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/pages/Overview/utils/helpers.ts b/public/pages/Overview/utils/helpers.ts index 9b2066341..759511485 100644 --- a/public/pages/Overview/utils/helpers.ts +++ b/public/pages/Overview/utils/helpers.ts @@ -7,7 +7,7 @@ import { TopLevelSpec } from 'vega-lite'; import { SummaryData } from '../components/Widgets/Summary'; function getVisualizationSpec(description: string, data: any, layers: any[]): TopLevelSpec { - let spec: TopLevelSpec = { + return { config: { view: { stroke: null } }, $schema: 'https://vega.github.io/schema/vega-lite/v5.json', description: description, @@ -16,8 +16,6 @@ function getVisualizationSpec(description: string, data: any, layers: any[]): To }, layer: layers, }; - - return spec; } export function getOverviewVisualizationSpec(