|
@ -57,6 +57,7 @@ export class IngredientPreviewComponent { |
|
|
}) |
|
|
}) |
|
|
) |
|
|
) |
|
|
.subscribe(([dishs, basic]) => { |
|
|
.subscribe(([dishs, basic]) => { |
|
|
|
|
|
console.log(dishs, basic); |
|
|
this.days = Array.from({ length: basic.day }, (_, i) => i + 1); |
|
|
this.days = Array.from({ length: basic.day }, (_, i) => i + 1); |
|
|
this.getStandardName(basic.nutrient); |
|
|
this.getStandardName(basic.nutrient); |
|
|
this.basic = basic; |
|
|
this.basic = basic; |
|
|