fix: modified download btn to show the file instead to downloading it directly
gitea/salix-front/pipeline/pr-master Something is wrong with the build of this commit Details

This commit is contained in:
Jon Elias 2025-04-29 09:53:24 +02:00
parent e30232741f
commit e134cbf36d
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import { useRoute, useRouter } from 'vue-router';
import { QBadge, QBtn, QCheckbox } from 'quasar';
import { downloadFile } from 'src/composables/downloadFile';
import { toDateTimeFormat } from 'src/filters/date';
import FetchData from 'components/FetchData.vue';
@ -87,7 +86,7 @@ const tableColumnComponents = {
file: {
component: QBtn,
props: () => ({ flat: true }),
event: ({ row }) => downloadFile(row.dmsFk),
event: ({ row }) => openReport(`dms/${row.dmsFk}/downloadFile`, {}, '_blank'),
},
employee: {
component: QBtn,