mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Levels and Components with i18nCoverage update that coverage from the level editor now.
This commit is contained in:
parent
9e6fd119a0
commit
895645ef6d
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ module.exports = class SaveLevelModal extends SaveVersionModal
|
|||
@showLoading()
|
||||
tuples = _.zip(modelsToSave, formsToSave)
|
||||
for [newModel, form] in tuples
|
||||
newModel.updateI18NCoverage() if newModel.get('i18nCoverage')
|
||||
res = newModel.save()
|
||||
do (newModel, form) =>
|
||||
res.error =>
|
||||
|
|
Loading…
Reference in a new issue