refs #7283 fix viewSummary
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-07-16 08:48:50 +02:00
parent 85b030c7bc
commit cce1d891fb
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import { toDate } from 'src/filters';
import axios from 'axios'; import axios from 'axios';
import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import { useSummaryDialog } from 'src/composables/useSummaryDialog';
import ItemSummary from '../Item/Card/ItemSummary.vue';
const entityId = computed(() => route.params.id); const entityId = computed(() => route.params.id);
const { viewSummary } = useSummaryDialog(); const { viewSummary } = useSummaryDialog();
@ -229,7 +230,7 @@ const columns = computed(() => [
{ {
title: t('view Summary'), title: t('view Summary'),
icon: 'preview', icon: 'preview',
action: (row) => viewSummary(row.id), action: (row) => viewSummary(row.id, ItemSummary),
}, },
], ],
}, },