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 @@
Wardrobe Master
- Version: 0.1.1
+ Version: 0.1.2
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;
}