From cce1d891fb67b738a45d6f3d59cbcda6dd1dde5d Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 16 Jul 2024 08:48:50 +0200 Subject: [PATCH] refs #7283 fix viewSummary --- src/pages/Item/ItemList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Item/ItemList.vue b/src/pages/Item/ItemList.vue index 0e444254f..273374150 100644 --- a/src/pages/Item/ItemList.vue +++ b/src/pages/Item/ItemList.vue @@ -10,6 +10,7 @@ import { toDate } from 'src/filters'; import axios from 'axios'; import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; +import ItemSummary from '../Item/Card/ItemSummary.vue'; const entityId = computed(() => route.params.id); const { viewSummary } = useSummaryDialog(); @@ -229,7 +230,7 @@ const columns = computed(() => [ { title: t('view Summary'), icon: 'preview', - action: (row) => viewSummary(row.id), + action: (row) => viewSummary(row.id, ItemSummary), }, ], },