From ba2084e90686d6467438ea97992b5d8efbea38db Mon Sep 17 00:00:00 2001 From: pablone Date: Mon, 31 Mar 2025 12:30:16 +0200 Subject: [PATCH] refactor: update TravelSummary and TravelList components for improved data fetching and summary view --- src/pages/Travel/Card/TravelSummary.vue | 29 ++++++++++--------------- src/pages/Travel/TravelList.vue | 2 +- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/src/pages/Travel/Card/TravelSummary.vue b/src/pages/Travel/Card/TravelSummary.vue index 5a824ddc3..dbb997ccb 100644 --- a/src/pages/Travel/Card/TravelSummary.vue +++ b/src/pages/Travel/Card/TravelSummary.vue @@ -268,13 +268,6 @@ const getLink = (param) => `#/travel/${entityId.value}/${param}`; - - - {{ t('travel.summary.thermographs') }} - - + + [ { title: t('components.smartCard.viewSummary'), icon: 'preview', - action: (row) => viewSummary(row.id, TravelSummary), + action: (row) => viewSummary(row.id, TravelSummary, 'lg-width'), isPrimary: true, }, ],