Hotfix[CustomerFileManagement]: Modified download btn to show the file instead to downloading it directly #1759

Merged
jon merged 2 commits from Hotifx-CustomerDms into master 2025-04-29 08:19:34 +00:00
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,