Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions resources/js/tasks/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Vue.component("TreeView", () => import("../components/TreeView.vue"));
const main = new Vue({
el: "#task",
mixins: addons,
components: {
TaskSaveNotification,
TaskSavePanel,
TasksList,
},
data: {
// Edit data
fieldsToUpdate: [],
Expand Down
2 changes: 2 additions & 0 deletions resources/views/tasks/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ class="mr-2 custom-badges pl-2 pr-2 rounded-lg">
const userConfiguration = @json($userConfiguration);

window.Processmaker.user = @json($currentUser);
window.ProcessMaker.taskDraftsEnabled = @json($taskDraftsEnabled);
let screenFields = @json($screenFields);
</script>

@foreach(GlobalScripts::getScripts() as $script)
Expand Down