Added variant update functionality.
This commit is contained in:
@@ -22,7 +22,7 @@ async function create() {
|
||||
|
||||
const variant: Variant = new Variant(0, weight.value, ean.value, name.value, description.value, ingredients.value);
|
||||
|
||||
await store.addVariant(store.article.id, variant);
|
||||
await store.addVariant(variant);
|
||||
|
||||
closeDialog();
|
||||
}
|
||||
@@ -73,7 +73,7 @@ function clearVariables() {
|
||||
mdi-plus-thick
|
||||
</v-icon>
|
||||
|
||||
Artikel erstellen
|
||||
Variante erstellen
|
||||
|
||||
<v-progress-circular v-if="loading" indeterminate :size="15" :width="2"></v-progress-circular>
|
||||
</v-card-title>
|
||||
|
||||
Reference in New Issue
Block a user