From 64d4ca09a5c4c3547d5381b6c58d19fe45ec9472 Mon Sep 17 00:00:00 2001 From: puri-ph4tt Date: Fri, 1 Dec 2023 16:15:06 +0700 Subject: [PATCH] fix: show title, keyword&category join with , --- Services/client/src/components/FileItem.vue | 2 +- .../01_user/components/FileDownload.vue | 18 ++++-------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/Services/client/src/components/FileItem.vue b/Services/client/src/components/FileItem.vue index d7e529a..ce059f9 100644 --- a/Services/client/src/components/FileItem.vue +++ b/Services/client/src/components/FileItem.vue @@ -323,7 +323,7 @@ async function submitFileForm( class="text-overflow-handle block q-px-md text-center" style="max-width: 100%" > - {{ getFileNameFormat(value.fileName) }} + {{ value.title }} diff --git a/Services/client/src/modules/01_user/components/FileDownload.vue b/Services/client/src/modules/01_user/components/FileDownload.vue index 3fb07a0..a78c1f3 100644 --- a/Services/client/src/modules/01_user/components/FileDownload.vue +++ b/Services/client/src/modules/01_user/components/FileDownload.vue @@ -54,7 +54,7 @@ async function downloadSubmit(path: any) { color="primary" /> - {{ getFileNameFormat(fileInfo?.fileName) }} @@ -85,7 +85,7 @@ async function downloadSubmit(path: any) { class="text-overflow-handle block q-px-md text-center" style="max-width: 100%" > - {{ getFileNameFormat(fileInfo?.fileName) }} + {{ fileInfo?.title }}
@@ -133,12 +133,7 @@ async function downloadSubmit(path: any) { กลุ่ม/หมวดหมู่
- {{ category }} + {{ fileInfo?.category.join(', ') }}
@@ -147,12 +142,7 @@ async function downloadSubmit(path: any) { คำสำคัญ
- {{ keyword }}  + {{ fileInfo?.keyword.join(', ') }}