From ede8a256f5be9fc60ed2f305b4a046bede35f530 Mon Sep 17 00:00:00 2001 From: Tiberiu Ichim Date: Thu, 21 Nov 2019 11:33:36 +0200 Subject: [PATCH] Fix addonroutes export --- src/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.js b/src/config.js index ec25dedc..d8949c2d 100644 --- a/src/config.js +++ b/src/config.js @@ -26,7 +26,7 @@ export function applyConfig(config) { config.views.contentTypesViews.visualization = VisualizationView; - config.widgets.id.viualization = ChartWidget; + config.widgets.id.visualization = ChartWidget; config.blocks.blocksConfig.plotly_charts = { id: 'plotly_chart', @@ -51,6 +51,6 @@ export function applyConfig(config) { ...config.addonReducers, ...addonReducers, }, - addonRoutes: [...(config.addonRoutes || []), addonRoutes], + addonRoutes: [...(config.addonRoutes || []), ...addonRoutes], }; }