@builttocreate/engine-utils 1.9.0-rc.1.1.8 → 1.9.0-rc.1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -172,13 +172,9 @@ var addDocumentDataToActivities = function addDocumentDataToActivities(activitie
172
172
  nextActivity.document.value = _nextDocFieldValue;
173
173
  } //This should handle adding the display value for selection and regular input fields
174
174
  else {
175
- var option = templateField.optionsLookup[docFieldValue]; // nextActivity.document.value = option && option.value ? option.value : docFieldValue;
176
-
177
- if (option && option.value) {
178
- nextActivity.document.value = option.value;
179
- } else if (docFieldValue && docFieldValue !== 'null') {
180
- nextActivity.document.value = docFieldValue;
181
- }
175
+ var option = templateField.optionsLookup[docFieldValue];
176
+ if (docFieldValue && docFieldValue === 'null') return;
177
+ nextActivity.document.value = option && option.value ? option.value : docFieldValue;
182
178
  }
183
179
  }
184
180
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builttocreate/engine-utils",
3
- "version": "1.9.0-rc.1.1.8",
3
+ "version": "1.9.0-rc.1.2.0",
4
4
  "description": "Utility library for common logic shared across web and mobile",
5
5
  "main": "dist/index.js",
6
6
  "files": [