mod-build 3.6.82 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.6.82",
3
+ "version": "3.6.83",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -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
- if (formData.primaryProjectClass === 'Solar') {
435
- return false;
436
- }
434
+ const cxpUnsupportedTrades = ['Solar', 'Water Filtration'];
437
435
 
438
- return true;
436
+ const isUnsupportedTrade = cxpUnsupportedTrades.indexOf(formData.primaryProjectClass) > -1;
437
+ return !isUnsupportedTrade;
439
438
  };
440
439
 
441
440
  /**