Skip to content

Commit

Permalink
#4455 Fixed StandardContainer rerendering in Ms2 js api (#4465) (#4467)
Browse files Browse the repository at this point in the history
  • Loading branch information
kappu72 authored and offtherailz committed Nov 8, 2019
1 parent 0bd4e7a commit 6de82ac
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions web/client/jsapi/MapStore2.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,15 @@ const MapStore2 = {
const {loadVersion} = require('../actions/version');
const {versionSelector} = require('../selectors/version');
const {loadAfterThemeSelector} = require('../selectors/config');

const componentConfig = {
component: component || embedded,
config: {
pluginsConfig: options.plugins || defaultPlugins
}
};
const StandardContainer = connect((state) => ({
locale: state.locale || {},
componentConfig: {
component: component || embedded,
config: {
pluginsConfig: options.plugins || defaultPlugins
}
},
componentConfig,
version: versionSelector(state),
loadAfterTheme: loadAfterThemeSelector(state)
}))(require('../components/app/StandardContainer'));
Expand Down

0 comments on commit 6de82ac

Please sign in to comment.