Merge pull request 'Hotfix[CustomerFileManagement]: Modified download btn to show the file instead to downloading it directly' (!1759) from Hotifx-CustomerDms into master
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #1759
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Jon Elias 2025-04-29 08:19:27 +00:00
commit dfdff66057
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,