Added variant update functionality.

This commit is contained in:
2026-01-23 23:12:47 +01:00
parent 897f154fae
commit ea482fab07
5 changed files with 144 additions and 19 deletions
@@ -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>