mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -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()
|
@showLoading()
|
||||||
tuples = _.zip(modelsToSave, formsToSave)
|
tuples = _.zip(modelsToSave, formsToSave)
|
||||||
for [newModel, form] in tuples
|
for [newModel, form] in tuples
|
||||||
|
newModel.updateI18NCoverage() if newModel.get('i18nCoverage')
|
||||||
res = newModel.save()
|
res = newModel.save()
|
||||||
do (newModel, form) =>
|
do (newModel, form) =>
|
||||||
res.error =>
|
res.error =>
|
||||||
|
|
Loading…
Reference in a new issue