@chec/commercerays-plugin
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -209,3 +209,3 @@ var Commerce = require('@chec/commerce.js'); | ||
if (object.type === 'image' && value && typeof value === 'object' && value.id) { | ||
if (object.type === 'image' && value && Array.isArray(value) && 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 && typeof value === 'object' && value.id) { | ||
if (object.type === 'image' && value && Array.isArray(value) && 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 && typeof value === 'object' && value.id) { | ||
if (object.type === 'image' && value && Array.isArray(value) && 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 && typeof value === 'object' && value.id) { | ||
if (object.type === 'image' && value && Array.isArray(value) && value[0].id) { | ||
return; | ||
@@ -208,0 +208,0 @@ } // Grab a value from defaults to use in-place |
{ | ||
"name": "@chec/commercerays-plugin", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"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
182348