Skip to content

Commit

Permalink
FOUR-20583: Tasks Main change to new layout , fix pmblock & webentry
Browse files Browse the repository at this point in the history
  • Loading branch information
hjonathan committed Dec 20, 2024
1 parent 31a405b commit ae76421
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions resources/jscomposition/cases/casesDetail/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Vue from "vue";
import * as vue from "vue";
import { BootstrapVue, BootstrapVueIcons } from "bootstrap-vue";
import moment from "moment-timezone";
import ScreenBuilder from "@processmaker/screen-builder";
import {
setUses, setGlobalVariables, setGlobalPMVariables,
} from "../../../js/next/globalVariables";
Expand All @@ -25,11 +26,12 @@ import openAI from "../../../js/next/config/openAI";
import sharedComponents from "../../../js/next/libraries/sharedComponents";
import vueFormElements from "../../../js/next/libraries/vueFormElements";
import modeler from "../../../js/next/modeler";
import screenBuilder from "../../../js/next/screenBuilder";
import screenBuilderNext from "../../../js/next/screenBuilder";

window.Vue = Vue;
window.vue = vue;
window.moment = moment;
window.ScreenBuilder = ScreenBuilder;

window.Vue.prototype.moment = moment;
window.Vue.use(BootstrapVue);
Expand Down Expand Up @@ -60,7 +62,7 @@ setUses(Vue, vueCookies.use);

import("../../../js/next/components/index");
// Initialize screenBuilder
screenBuilder({ global: window });
screenBuilderNext({ global: window });

const modelerConfig = modeler;
setGlobalPMVariables(modelerConfig.pm);
Expand Down

0 comments on commit ae76421

Please sign in to comment.