Import: fix json undefined when non json file provided
To reproduce the issue (before this patch) import anything that is not a valid json and look at the client console: there should be a JS error json is undefined
.
To reproduce the issue (before this patch) import anything that is not a valid json and look at the client console: there should be a JS error json is undefined
.