diff --git a/packages/mindplot/src/components/DesignerBuilder.js b/packages/mindplot/src/components/DesignerBuilder.js index a3410bae..c865d73c 100644 --- a/packages/mindplot/src/components/DesignerBuilder.js +++ b/packages/mindplot/src/components/DesignerBuilder.js @@ -20,7 +20,7 @@ import $ from 'jquery'; import PersistenceManager from './PersistenceManager'; import Designer from './Designer'; import Menu from './widget/Menu'; -import $notifyModal from './widget/ModalDialogNotifier'; +import { $notifyModal } from './widget/ModalDialogNotifier'; import { $msg } from './Messages'; let designer = null; diff --git a/packages/mindplot/src/components/widget/IMenu.js b/packages/mindplot/src/components/widget/IMenu.js index 5b497553..5d0c9ae4 100644 --- a/packages/mindplot/src/components/widget/IMenu.js +++ b/packages/mindplot/src/components/widget/IMenu.js @@ -19,7 +19,7 @@ import { $assert } from '@wisemapping/core-js'; import { $msg } from '../Messages'; import PersistenceManager from '../PersistenceManager'; import { $notify } from './ToolbarNotifier'; -import $notifyModal from './ModalDialogNotifier'; +import { $notifyModal } from './ModalDialogNotifier'; class IMenu { constructor(designer, containerId, mapId) { diff --git a/packages/mindplot/src/components/widget/ModalDialogNotifier.js b/packages/mindplot/src/components/widget/ModalDialogNotifier.js index f7672dd6..8e607d89 100644 --- a/packages/mindplot/src/components/widget/ModalDialogNotifier.js +++ b/packages/mindplot/src/components/widget/ModalDialogNotifier.js @@ -51,4 +51,5 @@ class ModalDialogNotifier { const dialogNotifier = new ModalDialogNotifier(); const $notifyModal = dialogNotifier.show.bind(dialogNotifier); -export default { $notifyModal }; +// eslint-disable-next-line import/prefer-default-export +export { $notifyModal }; diff --git a/packages/mindplot/test/playground/map-render/samples/sample7.xml b/packages/mindplot/test/playground/map-render/samples/sample1.xml similarity index 100% rename from packages/mindplot/test/playground/map-render/samples/sample7.xml rename to packages/mindplot/test/playground/map-render/samples/sample1.xml