Skip to content

Commit

Permalink
Added parameters to enable printing end to load version in MapStore2 api
Browse files Browse the repository at this point in the history
  • Loading branch information
kappu committed Jul 6, 2018
1 parent 1696c83 commit 3a9d873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/client/jsapi/MapStore2.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ const MapStore2 = {
}, {
jsAPIEpic: actionTrigger.epic
});
const initialActions = [...getInitialActions(options), loadVersion];
const initialActions = [...getInitialActions(options), loadVersion(options.versionURL)];
const appConfig = {
storeOpts: assign({}, storeOpts, {notify: true}),
appStore,
pluginsDef,
initialActions,
appComponent: StandardRouter,
printingEnabled: false
printingEnabled: options.printingEnabled || false
};
if (options.style) {
let dom = document.getElementById('custom_theme');
Expand Down

0 comments on commit 3a9d873

Please sign in to comment.