From 013d5b47d72a98b07a85b9b7167a6280de55b611 Mon Sep 17 00:00:00 2001 From: Georg Spar Date: Wed, 28 Jun 2023 23:28:57 +0200 Subject: [PATCH] v0.1.2: Bugfix Update Itemb --- components/About.vue | 2 +- components/upditemb.vue | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/About.vue b/components/About.vue index 9e09e03..0b2ac51 100644 --- a/components/About.vue +++ b/components/About.vue @@ -4,7 +4,7 @@ diff --git a/components/upditemb.vue b/components/upditemb.vue index 3b4adbd..51b065f 100644 --- a/components/upditemb.vue +++ b/components/upditemb.vue @@ -35,11 +35,11 @@
Size: - +
Color: - +
Type of clothes @@ -48,7 +48,7 @@
Material: - +
@@ -161,7 +161,9 @@ const hideDialog = () => { async function modifyItem() { const res = await useFetch(config.public.apiHostname + 'api/v1/itb/'+blubb); console.log(res); - res.data.value.abmessungen.id = assm; + if (assm) { + res.data.value.abmessungen.id = assm; + } return res; } -- 2.25.1