Skip to content

Commit

Permalink
Fix addonroutes export
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Nov 21, 2019
1 parent 7466f6e commit ede8a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -51,6 +51,6 @@ export function applyConfig(config) {
...config.addonReducers,
...addonReducers,
},
addonRoutes: [...(config.addonRoutes || []), addonRoutes],
addonRoutes: [...(config.addonRoutes || []), ...addonRoutes],
};
}

0 comments on commit ede8a25

Please sign in to comment.