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.
- package/bundles/ng-miam.umd.js +1 -1
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +1 -1
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_services/ingredients.service.js +2 -2
- package/fesm2015/ng-miam.js +1 -1
- package/fesm2015/ng-miam.js.map +1 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -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
|
}
|