diff --git a/.eslintrc.js b/.eslintrc.js index 1bbf4e72f..1beb4dc6e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -25,9 +25,6 @@ module.exports = { '**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)', ], - env: { - jest: true, - }, }, ], }; diff --git a/src/modules/routing/modules/flow/modules/diagram/components/opened-flow-diagram.vue b/src/modules/routing/modules/flow/modules/diagram/components/opened-flow-diagram.vue index 2db9c1524..c8f99d45f 100644 --- a/src/modules/routing/modules/flow/modules/diagram/components/opened-flow-diagram.vue +++ b/src/modules/routing/modules/flow/modules/diagram/components/opened-flow-diagram.vue @@ -52,8 +52,8 @@ export default { async initDiagram() { const flowDiagramUrl = import.meta.env.VITE_FLOW_DIAGRAM_URL; const script = document.createElement('script'); - script.type = 'module'; - script.src = `${flowDiagramUrl}/WtFlowDiagram.js`; + // script.type = 'module'; + script.src = `${flowDiagramUrl}/WtFlowDiagram.umd.cjs`; script.onload = () => { const params = {