fix: resolved cookie js bug on import page (#34139)

This commit is contained in:
Ahtisham Shahid
2024-01-30 01:06:19 +05:00
committed by GitHub
parent ffd4a54a10
commit d4536ed79d

View File

@@ -332,7 +332,7 @@ define(
* @return {JSON} the data of the previous import
*/
storedImport: function() {
return JSON.parse($.cookie(COOKIE_NAME));
return JSON.parse($.cookie(COOKIE_NAME) || null);
}
};