From 91fb3430babc501d58a5268e01c96db5581e67b2 Mon Sep 17 00:00:00 2001 From: henrikburmann <haburmann@gmail.com> Date: Tue, 3 May 2022 16:14:27 +0200 Subject: [PATCH] Fixed threads --- src/components/UserProfileComponents/UserItems.vue | 1 - src/components/UserProfileComponents/UserProfile.vue | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/UserProfileComponents/UserItems.vue b/src/components/UserProfileComponents/UserItems.vue index 4111d83..73ae23b 100644 --- a/src/components/UserProfileComponents/UserItems.vue +++ b/src/components/UserProfileComponents/UserItems.vue @@ -3,7 +3,6 @@ Dine gjenstander </div> <!-- Search field --> - <!-- Search field --> <div class="relative" id="searchComponent"> <span class="absolute inset-y-0 left-0 flex items-center pl-3"> <svg class="w-5 h-5 text-gray-400" viewBox="0 0 24 24" fill="none"> diff --git a/src/components/UserProfileComponents/UserProfile.vue b/src/components/UserProfileComponents/UserProfile.vue index c5dcdb5..aa280f2 100644 --- a/src/components/UserProfileComponents/UserProfile.vue +++ b/src/components/UserProfileComponents/UserProfile.vue @@ -33,8 +33,8 @@ > <li> <router-link - @click="goToMyItems" - to="" + + to="/user/userItems" class="block py-2 px-4 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white" >Mine gjenstander</router-link > @@ -152,9 +152,6 @@ export default { this.$store.commit("logout"); this.$router.push("/"); }, - goToMyItems(){ - this.$router.push("/user/userItems"); - } }, beforeMount() { this.getUser(); -- GitLab