Show article information.

This commit is contained in:
2026-01-22 02:51:36 +01:00
parent 5e929dbb1e
commit a87500fb24
4 changed files with 80 additions and 37 deletions
@@ -15,12 +15,6 @@
let description: Ref<string | null> = ref<string | null>(null);
let ingredients: Ref<string | null> = ref<string | null>(null);
let origins: Origin[] = [
Origin.EU,
Origin.NonEU,
Origin.EUnonEU
];
async function create() {
if (name.value != null && name.value.trim().length > 0 &&
origin.value != null && origin.value.trim().length > 0
@@ -91,6 +85,7 @@
<v-text-field
v-model.trim="name"
label="Bezeichnung"
autofocus
/>
<v-row>
@@ -103,7 +98,7 @@
<v-col>
<v-select
v-model="origin"
:items="origins"
:items="store.origins"
label="Herkunft"
></v-select>
</v-col>