strapi-plugin-import-export-content icon indicating copy to clipboard operation
strapi-plugin-import-export-content copied to clipboard

fix import fails if value is null #38

Open Salman2301 opened this issue 4 years ago • 0 comments

During Import (After Analyze completed), some of the value needs to be imported is null. since null is "object" type on the line 8 of contentChecker.js file. This is true and the next command value.id cause TypeError TypeError: Cannot read property 'id' of null

And the whole import stops. Added another if to handle if the value is null.

Salman2301 avatar Oct 11 '21 08:10 Salman2301