Skip to content

Commit

Permalink
fix: resolved js error in course export (openedx#34134)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhtishamShahid authored Jan 29, 2024
1 parent 928e810 commit 7f850d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/static/js/views/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ define([
* @return {JSON} the data of the previous export
*/
storedExport: function(contentHomeUrl) {
var storedData = JSON.parse($.cookie(COOKIE_NAME));
var storedData = JSON.parse($.cookie(COOKIE_NAME) || null);
if (storedData) {
successUnixDate = storedData.date;
}
Expand Down

0 comments on commit 7f850d6

Please sign in to comment.