Skip to content

Commit

Permalink
Issue #SB-11001 fix: codacy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pallakartheekreddy committed Mar 18, 2019
1 parent c97d091 commit ab02816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/contenteditor/manager/stage-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ org.ekstep.contenteditor.stageManager = new (Class.extend({
content.theme['migration-media'].media = _.values(org.ekstep.contenteditor.mediaManager.migratedMediaMap)
}
content.theme.manifest.media = _.uniqBy(_.concat(content.theme.manifest.media, _.values(mediaMap)), 'id')
if(!_.isEmpty(org.ekstep.contenteditor.migration.patch)){
content.theme['patch'] = org.ekstep.contenteditor.migration.patch.toString();
if (!_.isEmpty(org.ekstep.contenteditor.migration.patch)) {
content.theme['patch'] = org.ekstep.contenteditor.migration.patch.toString()
}
return _.cloneDeep(content)
},
Expand Down

0 comments on commit ab02816

Please sign in to comment.