diff --git a/Services/client/src/modules/01_user/components/FileDownload.vue b/Services/client/src/modules/01_user/components/FileDownload.vue index bffeb36..dfa2bca 100644 --- a/Services/client/src/modules/01_user/components/FileDownload.vue +++ b/Services/client/src/modules/01_user/components/FileDownload.vue @@ -145,6 +145,15 @@ async function downloadSubmit(path: string | undefined) { +
+
+ ผู้เขียน +
+
+ {{ fileInfo?.author }} +
+
+
กลุ่ม/หมวดหมู่ diff --git a/Services/client/src/stores/storage.ts b/Services/client/src/stores/storage.ts index 0c464d6..f5a0b8f 100644 --- a/Services/client/src/stores/storage.ts +++ b/Services/client/src/stores/storage.ts @@ -26,6 +26,8 @@ export interface StorageFile { fileType: string title: string description: string + author: string, + metadata: Record category: string[] keyword: string[] updatedAt: string @@ -439,9 +441,9 @@ const useStorage = defineStore('storageStore', () => { }, to: file?.name ? { - file: file.name, - path: arr, - } + file: file.name, + path: arr, + } : undefined, upload: !!file, },