From 86ae827fda7a8c45b346fdfaa490225b10039cbd Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 16 Jul 2024 13:48:32 +0200 Subject: [PATCH] refs #7283 clone --- src/pages/Item/ItemList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Item/ItemList.vue b/src/pages/Item/ItemList.vue index 6893d55a1..c44438087 100644 --- a/src/pages/Item/ItemList.vue +++ b/src/pages/Item/ItemList.vue @@ -239,7 +239,7 @@ const columns = computed(() => [ const cloneItem = async (itemFk) => { try { - const { data } = await axios.post(`Items/${itemFk}/clone`); + const { data } = await axios.post(`Items/${itemFk.id}/clone`); if (!data) return; router.push({ name: 'ItemTags', params: { id: data.id } }); } catch (err) {