-a
This commit is contained in:
@ -40,8 +40,8 @@
|
|||||||
<table class="table table-sm">
|
<table class="table table-sm">
|
||||||
<!-- eslint-disable vue/no-v-for-template-key-on-child -->
|
<!-- eslint-disable vue/no-v-for-template-key-on-child -->
|
||||||
<template v-for="i in step.ingredients">
|
<template v-for="i in step.ingredients">
|
||||||
<Ingredient v-bind:ingredient="i" :ingredient_factor="ingredient_factor" :key="i.id"
|
<Ingredient-component v-bind:ingredient="i" :ingredient_factor="ingredient_factor" :key="i.id"
|
||||||
@checked-state-changed="$emit('checked-state-changed', i)"></Ingredient>
|
@checked-state-changed="$emit('checked-state-changed', i)"></Ingredient-component>
|
||||||
</template>
|
</template>
|
||||||
<!-- eslint-enable vue/no-v-for-template-key-on-child -->
|
<!-- eslint-enable vue/no-v-for-template-key-on-child -->
|
||||||
</table>
|
</table>
|
||||||
@ -158,14 +158,13 @@
|
|||||||
|
|
||||||
import {calculateAmount} from "@/utils/utils";
|
import {calculateAmount} from "@/utils/utils";
|
||||||
|
|
||||||
import Ingredient from "@/components/Ingredient";
|
|
||||||
import {GettextMixin} from "@/utils/utils";
|
import {GettextMixin} from "@/utils/utils";
|
||||||
|
|
||||||
import CompileComponent from "@/components/CompileComponent";
|
import CompileComponent from "@/components/CompileComponent";
|
||||||
import Vue from "vue";
|
import Vue from "vue";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import Keywords from "@/components/Keywords";
|
|
||||||
import {ResolveUrlMixin} from "@/utils/utils";
|
import {ResolveUrlMixin} from "@/utils/utils";
|
||||||
|
import IngredientComponent from "@/components/IngredientComponent";
|
||||||
|
|
||||||
Vue.prototype.moment = moment
|
Vue.prototype.moment = moment
|
||||||
|
|
||||||
@ -176,7 +175,7 @@ export default {
|
|||||||
ResolveUrlMixin,
|
ResolveUrlMixin,
|
||||||
],
|
],
|
||||||
components: {
|
components: {
|
||||||
Ingredient,
|
IngredientComponent,
|
||||||
CompileComponent,
|
CompileComponent,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
Reference in New Issue
Block a user