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