From 9077cf1a39e84e86f5fca14311f3800b25bc2401 Mon Sep 17 00:00:00 2001 From: Gilgard <Hjelljord.alida@gmail.com> Date: Thu, 5 May 2022 15:57:04 +0200 Subject: [PATCH] links from my items --- src/components/UserProfileComponents/UserItems.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/UserProfileComponents/UserItems.vue b/src/components/UserProfileComponents/UserItems.vue index 25038bd..895fe3b 100644 --- a/src/components/UserProfileComponents/UserItems.vue +++ b/src/components/UserProfileComponents/UserItems.vue @@ -54,7 +54,7 @@ > <li> <button - to="/user/userItems" + @click="this.$router.push('/user/userItems/' + item.listingID + '/edit')" 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" > Rediger gjenstand @@ -117,7 +117,7 @@ > <li> <button - to="/user/userItems" + @click="this.$router.push('/user/userItems/' + item.listingID + '/edit')" 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" > Rediger gjenstand @@ -289,6 +289,7 @@ export default { async beforeMount() { await this.getUserListingsFromAPI(); this.updateVisibleTodos(); + console.log("hei"); }, }; </script> -- GitLab