Skip to content

Import: fix json undefined when non json file provided

Nicolas Frandeboeuf requested to merge nicofrand/kresus:fixJsonUndefined into master

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.

Merge request reports