mod-build 3.6.82-beta.1 → 3.6.83
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.
- package/CHANGELOG.md +8 -0
- package/gulp-tasks/grab-cdn.js +2 -0
- package/gulp-tasks/grab-shared-scripts.js +6 -2
- package/package-lock-1.json +35243 -0
- package/package.json +1 -1
- package/src/scripts/mod-form-contractor.js +3 -4
package/package.json
CHANGED
|
@@ -431,11 +431,10 @@ modForm.isFreeEmail = function(email) {
|
|
|
431
431
|
* @returns {Boolean} - true if meets CXP criteria
|
|
432
432
|
*/
|
|
433
433
|
modForm.isSupportedByCxp = function(formData) {
|
|
434
|
-
|
|
435
|
-
return false;
|
|
436
|
-
}
|
|
434
|
+
const cxpUnsupportedTrades = ['Solar', 'Water Filtration'];
|
|
437
435
|
|
|
438
|
-
|
|
436
|
+
const isUnsupportedTrade = cxpUnsupportedTrades.indexOf(formData.primaryProjectClass) > -1;
|
|
437
|
+
return !isUnsupportedTrade;
|
|
439
438
|
};
|
|
440
439
|
|
|
441
440
|
/**
|