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), }, ], },