From 7f6e3ff2cfb7d6ae2622d485f26ff3840c8063e8 Mon Sep 17 00:00:00 2001 From: Zara Mudassar <zara.1310@hotmail.com> Date: Wed, 27 Apr 2022 11:43:35 +0200 Subject: [PATCH] Id errors fixed --- src/components/AddNewItem.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/AddNewItem.vue b/src/components/AddNewItem.vue index 672b098..86e7cf4 100644 --- a/src/components/AddNewItem.vue +++ b/src/components/AddNewItem.vue @@ -9,7 +9,7 @@ <div class="mb-6" :class="{ error: v$.item.title.$errors.length }"> <label class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300" - id="addressLabel" + id="titleLabel" >Tittel</label > <input @@ -162,7 +162,6 @@ <div class="mb-6" :class="{ error: v$.item.address.$errors.length }"> <label class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300" - id="titleLabel" >Adresse</label> <input type="text" @@ -381,9 +380,6 @@ export default { this.item.images.push(URL.createObjectURL(event.target.files[0])); console.log("antall bilder: " + this.item.images.length); }, - }, - beforeMount() { - console.log("Token: " + this.$store.state.user.token); } }; </script> -- GitLab