Skip to content

Commit

Permalink
Se corrigió un problema al eliminar la referencia _this
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexQuispe committed Mar 6, 2018
1 parent de90b9f commit d291e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function _updateTHIS (model, obj) {
Object.keys(obj).forEach(prop => {
const OBJ = obj[prop]
if (_isTHIS(OBJ)) {
delete obj._this
delete OBJ._this
RESULT[prop] = Object.assign(_.cloneDeep(model.attributes[prop]), OBJ)
return
}
Expand Down

0 comments on commit d291e00

Please sign in to comment.