diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue index c0e8ac43b..ea19bf25d 100644 --- a/src/components/common/VnDmsList.vue +++ b/src/components/common/VnDmsList.vue @@ -93,19 +93,21 @@ const dmsFilter = { const columns = computed(() => [ { - align: 'left', - field: 'file', - label: t('globals.file'), + label: '', name: 'file', + align: 'left', component: VnImg, - props: (prop) => ({ - storage: 'dms', - collection: null, - size: null, - id: prop.row.file.split('.')[0], - token: token, - class: 'rounded', - }), + props: (prop) => { + return { + storage: 'dms', + collection: null, + resolution: null, + id: prop.row.file.split('.')[0], + token: token, + class: 'rounded', + ratio: 1, + }; + }, }, { align: 'left', @@ -397,10 +399,10 @@ defineExpose({