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