diff --git a/forms-flow-ai/epd-forms/bundling/Notification of Likely or Actual Migration.json b/forms-flow-ai/epd-forms/bundling/Notification of Likely or Actual Migration.json
index 18ecc7ed..75e50e81 100644
--- a/forms-flow-ai/epd-forms/bundling/Notification of Likely or Actual Migration.json
+++ b/forms-flow-ai/epd-forms/bundling/Notification of Likely or Actual Migration.json
@@ -154,7 +154,7 @@
{
"components": [
{
- "label": "Needs More Info Bundle",
+ "label": "Needs More Info",
"action": "custom",
"showValidations": false,
"theme": "warning",
@@ -233,7 +233,7 @@
"showWordCount": false,
"allowMultipleMasks": false,
"addons": [],
- "id": "e2hisow"
+ "id": "ed5wtf6"
}
],
"size": "md",
@@ -456,7 +456,7 @@
"tableView": false,
"modalEdit": false,
"templates": {
- "header": "{% console.log(\"row-key header\",'commentFor',row['commentFor']) %}\r\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n\r\n{% if(groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")){ %}\r\n\r\n
\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\r\n {% if(component.label === 'Notes') { %}\r\n
{{ t(component.label) }}
\r\n {% } else if(component.key !== 'comments') { %}\r\n
{{ t(component.label) }}
\r\n {% } %}\r\n {% } %}\r\n {% }) %}\r\n
\r\n\r\n{% } else { %}\r\n\r\n\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component)) { %}\r\n {% if(component.key == 'comments') { %}\r\n
{{ t(component.label)}}
\r\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\r\n
{{ t(component.label)}}
\r\n{% } else { %}\r\n
{{ t(component.label)}}
\r\n{% } %} \r\n {% } %}\r\n {% }) %}\r\n
\r\n\r\n{% } %}",
+ "header": "{% console.log(\"row-key header\",'commentFor',row['commentFor']) %}\r\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n\r\n{% if(groups.includes(\"/formsflow/formsflow-client-reviewer\") || groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")){ %}\r\n\r\n\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\r\n {% if(component.label === 'Notes') { %}\r\n
{{ t(component.label) }}
\r\n {% } else if(component.key !== 'comments') { %}\r\n
{{ t(component.label) }}
\r\n {% } %}\r\n {% } %}\r\n {% }) %}\r\n
\r\n\r\n{% } else { %}\r\n\r\n\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component)) { %}\r\n {% if(component.key == 'comments') { %}\r\n
{{ t(component.label)}}
\r\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\r\n
{{ t(component.label)}}
\r\n{% } else { %}\r\n
{{ t(component.label)}}
\r\n{% } %} \r\n {% } %}\r\n {% }) %}\r\n
\r\n\r\n{% } %}",
"tableHeader": "\n \n {% util.eachComponent(components, function(component) { %}\n {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}\n {{ component.label }} | \n {% } %}\n {% }) %}\n {% if (!instance.options.readOnly && !instance.disabled) { %}\n Actions | \n {% } %}\n
\n ",
"row": "\r\n\r\n{% console.log(\"row-key main\",'commentFor',row['commentFor']) %}\r\n{% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n{% console.log('rendering edit grid body')%}\r\n{% if((groups.includes(\"/formsflow/formsflow-reviewer/formsflow-client-reviewer\") || groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")) && row['commentFor']==='external'){ %}\r\n\r\n\r\n\r\n\r\n\r\n {% util.eachComponent(components, function(component) { %}\r\n {% if (displayValue(component) && component.key !== 'commentFor' ) { %}\r\n {% console.log(\"row-key\",component.key,row[component.key]) %}\r\n {% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n{% if((groups.includes(\"/formsflow/formsflow-reviewer/formsflow-client-reviewer\") || groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")) && row['commentFor']==='external'){ %}\r\n{% if(component.key == 'comments') { %}\r\n
\r\n {{ getView(component, row[component.key])}}\r\n
\r\n{% } else { %}\r\n
\r\n {{ getView(component, row[component.key])}}\r\n
\r\n{%}%}\r\n \r\n\r\n {% } %}\r\n {% } %}\r\n {% }) %}\r\n {% if (!instance.options.readOnly && !instance.disabled) { %}\r\n {% const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))%}\r\n{% const groups = UserDetails[\"groups\"]; %}\r\n{% if((groups.includes(\"/formsflow/formsflow-reviewer/formsflow-client-reviewer\") || groups.includes(\"/formsflow/formsflow-client\") || groups.includes(\"/formsflow/formsflow-reviewer/csap\") || groups.includes(\"/formsflow/formsflow-reviewer/csap-society\")) && row['commentFor']==='external'){ %}\r\n
\r\n
\r\n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\r\n \r\n {% } %}\r\n
\r\n
\r\n \r\n {% } %}\r\n {% } %}\r\n
\r\n {% } else if (groups.includes(\"/formsflow/formsflow-reviewer/site-information-advisor\") || groups.includes(\"/formsflow/formsflow-reviewer/cssa-team\") || groups.includes(\"/formsflow/formsflow-reviewer/caseworker\") || groups.includes(\"/formsflow/formsflow-reviewer/sdm\")) { %}\r\n \r\n {% util.eachComponent(components, function(component) { %}\r\n {% console.log('for sia') %}\r\n {% if (displayValue(component)) { %}\r\n {% if(component.key == 'comments') { %}\r\n
{{ getView(component, row[component.key])}}
\r\n {% } else if(component.key == 'role' || component.key == 'createdBy') { %}\r\n
{{ getView(component, row[component.key])}}
\r\n{% } else { %}\r\n
{{ getView(component, row[component.key])}}
\r\n{% } %} \r\n \r\n {% } %}\r\n {% }) %}\r\n {% if (!instance.options.readOnly && !instance.disabled) { %}\r\n
\r\n
\r\n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\r\n \r\n {% } %}\r\n
\r\n
\r\n {% } %}\r\n
\r\n {% } %}\r\n \r\n \r\n \r\n{% const emptyElements = []; %}\r\n{% const elements = document.getElementsByClassName(\"list-group-item\"); %}\r\n{% for (let i = 0; i < elements.length; i++) { %}\r\n{% const element = elements[i]; %}\r\n{% if(element.querySelectorAll('div.row').length===0){(element).remove() }} %}",
"tableRow": "\n {% util.eachComponent(components, function(component) { %}\n {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}\n \n {{ getView(component, row[component.key]) }}\n | \n {% } %}\n {% }) %}\n {% if (!instance.options.readOnly && !instance.disabled) { %}\n \n \n \n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\n \n {% } %}\n \n | \n {% } %}\n ",
@@ -603,7 +603,7 @@
"wysiwyg": false,
"editor": "",
"fixedSize": true,
- "id": "eu50ikk"
+ "id": "e3f7xt6"
}
],
"width": 4,
@@ -695,7 +695,7 @@
"addons": [],
"inputType": "radio",
"fieldSet": false,
- "id": "e9jdvz"
+ "id": "e9ddc4f"
}
],
"width": 2,
@@ -782,7 +782,7 @@
"displayMask": "",
"spellcheck": true,
"truncateMultipleSpaces": false,
- "id": "e9e9ws"
+ "id": "exbt5zd"
}
],
"size": "md",
@@ -869,7 +869,7 @@
"displayMask": "",
"spellcheck": true,
"truncateMultipleSpaces": false,
- "id": "e6pf0x"
+ "id": "etitw4"
}
],
"size": "md",
@@ -956,7 +956,7 @@
"displayMask": "",
"spellcheck": true,
"truncateMultipleSpaces": false,
- "id": "edodsdx"
+ "id": "ej7qfd"
}
],
"size": "md",
@@ -1031,7 +1031,7 @@
"tree": false,
"lazyLoad": false,
"autoAdjust": false,
- "id": "eruizib"
+ "id": "ei71bjj"
}
],
"placeholder": "",
@@ -1050,7 +1050,7 @@
"tree": true,
"lazyLoad": false,
"defaultOpen": false,
- "id": "ex5ffy8"
+ "id": "ep1r5ub"
},
{
"id": "evi8v2p",
@@ -1213,7 +1213,7 @@
"attributes": {},
"components": [
{
- "id": "ea2btv0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "id": "ea2btv000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "Panel-InformationForAffectedAndLikelyAffectedParcels",
"tree": false,
"type": "panel",
@@ -8349,7 +8349,7 @@
"attributes": {},
"components": [
{
- "id": "e3t798j000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "id": "e3t798j00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "simplecols4",
"tree": false,
"type": "columns",
diff --git a/forms-flow-ai/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn b/forms-flow-ai/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn
index 73ff73e7..2caab78b 100644
--- a/forms-flow-ai/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn
+++ b/forms-flow-ai/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn
@@ -121,7 +121,7 @@ task.execution.setVariable('deleteReason', "completed");
${action == 'Returned'}
- ${action == 'Accepted'}
+ ${action == 'Accepted' || action == 'Approved' }
diff --git a/map-package/package.json b/map-package/package.json
index 346959c4..716dec5f 100644
--- a/map-package/package.json
+++ b/map-package/package.json
@@ -1,6 +1,6 @@
{
"name": "react-parcelmap-bc",
- "version": "1.0.4",
+ "version": "1.0.6",
"private": false,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
diff --git a/map-package/src/map/Map.js b/map-package/src/map/Map.js
index 31fa5346..6ab844f9 100644
--- a/map-package/src/map/Map.js
+++ b/map-package/src/map/Map.js
@@ -21,12 +21,19 @@ const Map = (props) => {
useEffect(() => {
if (props.initLocation.length > 0 && props.initLocation !== null && props.initLocation !== undefined) {
- setZoom(13);
- setLocation(props.initLocation);
+
if(props.readOnly)
{
setShow(false);
}
+
+ const timer = setTimeout(() => {
+ setZoom(13);
+ setLocation(props.initLocation);
+ }, 1000); // 3000 milliseconds (3 seconds)
+
+ // Clean up the timer to avoid memory leaks
+ return () => clearTimeout(timer);
}
}, [props]);