Start adding ui for nutrition.
This commit is contained in:
1 parent
627564e8c6
commit
7986632dab
6 files changed
+124
-14
No files matched your search
@@ -96,6 +96,8 @@
|
||||
|
||||
<v-divider vertical/>
|
||||
|
||||
<Nutrition v-bind:nutrition="store.article.nutritional"/>
|
||||
|
||||
<v-btn
|
||||
:flat="true"
|
||||
@click="toggleEdit();"
|
||||
@@ -108,6 +110,7 @@
|
||||
Bearbeiten
|
||||
</v-tooltip>
|
||||
</v-btn>
|
||||
|
||||
</v-row>
|
||||
</v-card-title>
|
||||
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
|
||||
const article: Article = new Article(0, name.value, bio.value, origin.value, description.value,
|
||||
ingredients.value, default_unit.value, [],
|
||||
mhd.value, bio_origin.value, allergens_text.value, bio_info.value, topm_id.value, additional_name.value);
|
||||
mhd.value, bio_origin.value, allergens_text.value, bio_info.value, topm_id.value,
|
||||
additional_name.value, null);
|
||||
|
||||
await store.createArticle(article);
|
||||
|
||||
|
||||
Reference in new issue
Block a user