ng-miam 4.10.2 → 4.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3907,7 +3907,7 @@
3907
3907
  else {
3908
3908
  var newIng = _this.new();
3909
3909
  delete newIng.id;
3910
- newIng.attributes = Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity, importance: ing.attributes.importance, 'picture-url': ing.attributes['picture-url'], position: ing.attributes.position });
3910
+ newIng.attributes = Object.assign(Object.assign(Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity, importance: ing.attributes.importance }), ing.attributes['picture-url'] ? { 'picture-url': ing.attributes['picture-url'] } : {}), { position: ing.attributes.position });
3911
3911
  newIng.addRelationship(recipe, 'recipe');
3912
3912
  ingredientsToSave.push(newIng);
3913
3913
  }