From 0d25c1b66b8a900412457d9eb0c794abef1bd7c7 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 3 Jun 2024 11:27:44 +0200 Subject: [PATCH] refs #7366 fix travel --- .../Travel/Card/TravelDescriptorMenuItems.vue | 1 + src/pages/Travel/Card/TravelSummary.vue | 14 +------------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/pages/Travel/Card/TravelDescriptorMenuItems.vue b/src/pages/Travel/Card/TravelDescriptorMenuItems.vue index 17b9333ca..ab1de5b3e 100644 --- a/src/pages/Travel/Card/TravelDescriptorMenuItems.vue +++ b/src/pages/Travel/Card/TravelDescriptorMenuItems.vue @@ -36,6 +36,7 @@ const cloneTravelWithEntries = () => { try { axios.post(`Travels/${$props.travel.id}/cloneWithEntries`); notify('globals.dataSaved', 'positive'); + redirectToCreateView(); } catch (err) { console.err('Error cloning travel with entries'); } diff --git a/src/pages/Travel/Card/TravelSummary.vue b/src/pages/Travel/Card/TravelSummary.vue index 98ace30b0..fc45f8466 100644 --- a/src/pages/Travel/Card/TravelSummary.vue +++ b/src/pages/Travel/Card/TravelSummary.vue @@ -242,18 +242,6 @@ const getLink = (param) => `#/travel/${entityId.value}/${param}`; -