diff --git a/src/pages/Item/ItemList.vue b/src/pages/Item/ItemList.vue index 17a62c5b9..0e444254f 100644 --- a/src/pages/Item/ItemList.vue +++ b/src/pages/Item/ItemList.vue @@ -9,8 +9,10 @@ import { useStateStore } from 'stores/useStateStore'; import { toDate } from 'src/filters'; import axios from 'axios'; import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; +import { useSummaryDialog } from 'src/composables/useSummaryDialog'; const entityId = computed(() => route.params.id); +const { viewSummary } = useSummaryDialog(); const router = useRouter(); const stateStore = useStateStore(); const { t } = useI18n(); @@ -224,6 +226,11 @@ const columns = computed(() => [ action: cloneItem, isPrimary: true, }, + { + title: t('view Summary'), + icon: 'preview', + action: (row) => viewSummary(row.id), + }, ], }, ]);