Fix error dialog display.

This commit is contained in:
Paulo Gustavo Veiga 2021-12-25 12:15:56 -08:00
parent a3126f8532
commit db12f150d5
4 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,7 @@ import $ from 'jquery';
import PersistenceManager from './PersistenceManager'; import PersistenceManager from './PersistenceManager';
import Designer from './Designer'; import Designer from './Designer';
import Menu from './widget/Menu'; import Menu from './widget/Menu';
import $notifyModal from './widget/ModalDialogNotifier'; import { $notifyModal } from './widget/ModalDialogNotifier';
import { $msg } from './Messages'; import { $msg } from './Messages';
let designer = null; let designer = null;

View File

@ -19,7 +19,7 @@ import { $assert } from '@wisemapping/core-js';
import { $msg } from '../Messages'; import { $msg } from '../Messages';
import PersistenceManager from '../PersistenceManager'; import PersistenceManager from '../PersistenceManager';
import { $notify } from './ToolbarNotifier'; import { $notify } from './ToolbarNotifier';
import $notifyModal from './ModalDialogNotifier'; import { $notifyModal } from './ModalDialogNotifier';
class IMenu { class IMenu {
constructor(designer, containerId, mapId) { constructor(designer, containerId, mapId) {

View File

@ -51,4 +51,5 @@ class ModalDialogNotifier {
const dialogNotifier = new ModalDialogNotifier(); const dialogNotifier = new ModalDialogNotifier();
const $notifyModal = dialogNotifier.show.bind(dialogNotifier); const $notifyModal = dialogNotifier.show.bind(dialogNotifier);
export default { $notifyModal }; // eslint-disable-next-line import/prefer-default-export
export { $notifyModal };