@chec/commercerays-plugin
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -209,3 +209,3 @@ var Commerce = require('@chec/commerce.js'); | ||
if (object.type === 'image' && value && Array.isArray(value) && value[0].id) { | ||
if (object.type === 'image' && value && Array.isArray(value) && value.length && value[0].id) { | ||
return; | ||
@@ -212,0 +212,0 @@ } // Grab a value from defaults to use in-place |
@@ -155,3 +155,3 @@ import Commerce from '@chec/commerce.js'; | ||
if (object.type === 'image' && value && Array.isArray(value) && value[0].id) { | ||
if (object.type === 'image' && value && Array.isArray(value) && value.length && value[0].id) { | ||
return; | ||
@@ -158,0 +158,0 @@ } // Grab a value from defaults to use in-place |
@@ -199,3 +199,3 @@ import Commerce from '@chec/commerce.js'; | ||
if (object.type === 'image' && value && Array.isArray(value) && value[0].id) { | ||
if (object.type === 'image' && value && Array.isArray(value) && value.length && value[0].id) { | ||
return; | ||
@@ -202,0 +202,0 @@ } // Grab a value from defaults to use in-place |
@@ -205,3 +205,3 @@ (function (global, factory) { | ||
if (object.type === 'image' && value && Array.isArray(value) && value[0].id) { | ||
if (object.type === 'image' && value && Array.isArray(value) && value.length && value[0].id) { | ||
return; | ||
@@ -208,0 +208,0 @@ } // Grab a value from defaults to use in-place |
{ | ||
"name": "@chec/commercerays-plugin", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Integrate directly with an editor within the Chec Dashboard - allowing customisation of your project by the merchant", | ||
@@ -5,0 +5,0 @@ "main": "dist/rays-plugin.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182580