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

This commit is contained in:
Carlos Satorres 2024-07-16 08:31:04 +02:00
parent b7ba8eec3d
commit 85b030c7bc
1 changed files with 7 additions and 0 deletions

View File

@ -9,8 +9,10 @@ import { useStateStore } from 'stores/useStateStore';
import { toDate } from 'src/filters'; 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';
const entityId = computed(() => route.params.id); const entityId = computed(() => route.params.id);
const { viewSummary } = useSummaryDialog();
const router = useRouter(); const router = useRouter();
const stateStore = useStateStore(); const stateStore = useStateStore();
const { t } = useI18n(); const { t } = useI18n();
@ -224,6 +226,11 @@ const columns = computed(() => [
action: cloneItem, action: cloneItem,
isPrimary: true, isPrimary: true,
}, },
{
title: t('view Summary'),
icon: 'preview',
action: (row) => viewSummary(row.id),
},
], ],
}, },
]); ]);