ng-miam 6.3.7 → 6.3.9
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 +3 -3
- 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/groceries-lists.service.js +2 -2
- package/esm2015/lib/_services/interceptor.service.js +2 -2
- package/esm2015/lib/_web-components/meals-planner/meals-planner-catalog/meals-planner-catalog.component.js +2 -2
- package/fesm2015/ng-miam.js +3 -3
- package/fesm2015/ng-miam.js.map +1 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
// Observe the fetching of the recipe so calls to list$ are delayed instead of calling refreshCurrentList dozens of times
|
|
786
786
|
_this.listIsFetching = false;
|
|
787
787
|
_this.register();
|
|
788
|
-
_this.recipesToRemove.pipe(operators.skipWhile(function (toRemove) { return toRemove.length === 0; }), operators.debounceTime(
|
|
788
|
+
_this.recipesToRemove.pipe(operators.skipWhile(function (toRemove) { return toRemove.length === 0; }), operators.debounceTime(1000), operators.switchMap(function () { return _this.emptyRecipesToRemove(); })).subscribe();
|
|
789
789
|
return _this;
|
|
790
790
|
}
|
|
791
791
|
Object.defineProperty(GroceriesListsService.prototype, "list$", {
|
|
@@ -26523,7 +26523,7 @@
|
|
|
26523
26523
|
};
|
|
26524
26524
|
Object.defineProperty(MealsPlannerCatalogComponent.prototype, "maxCost", {
|
|
26525
26525
|
get: function () {
|
|
26526
|
-
return this.remainingBudget /
|
|
26526
|
+
return this.remainingBudget / this.remainingRecipesNumber;
|
|
26527
26527
|
},
|
|
26528
26528
|
enumerable: false,
|
|
26529
26529
|
configurable: true
|
|
@@ -27469,7 +27469,7 @@
|
|
|
27469
27469
|
request = request.clone({
|
|
27470
27470
|
setHeaders: {
|
|
27471
27471
|
'miam-origin': context.origin,
|
|
27472
|
-
'miam-front-version': '6.3.
|
|
27472
|
+
'miam-front-version': '6.3.9',
|
|
27473
27473
|
'miam-front-type': 'web',
|
|
27474
27474
|
'miam-api-version': '4.7.0'
|
|
27475
27475
|
}
|