From 592a6296e932b62e931cc247e89f3a0a9ed90011 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 10 Jan 2024 18:03:28 +0700 Subject: [PATCH] fix: add missing update field --- Services/client/src/components/FileFormWrapper.vue | 2 ++ Services/client/src/components/FileItem.vue | 1 + Services/client/src/components/FileSearched.vue | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Services/client/src/components/FileFormWrapper.vue b/Services/client/src/components/FileFormWrapper.vue index 2dadcf9..86198c9 100644 --- a/Services/client/src/components/FileFormWrapper.vue +++ b/Services/client/src/components/FileFormWrapper.vue @@ -37,6 +37,7 @@ function triggerFileEdit( description: string keyword: string[] category: string[] + author: string }, pathname: string, file?: string, @@ -49,6 +50,7 @@ function triggerFileEdit( description: value.description, keyword: value.keyword, category: value.category, + author: value.author, } fileNameLabel.value = file } diff --git a/Services/client/src/components/FileItem.vue b/Services/client/src/components/FileItem.vue index 1182942..aa7fef2 100644 --- a/Services/client/src/components/FileItem.vue +++ b/Services/client/src/components/FileItem.vue @@ -246,6 +246,7 @@ function triggerFileDelete(pathname: string) { description: value.description, keyword: value.keyword, category: value.category, + author: value.author, }, value.pathname, value.fileName, diff --git a/Services/client/src/components/FileSearched.vue b/Services/client/src/components/FileSearched.vue index 64efb29..d4dfe5f 100644 --- a/Services/client/src/components/FileSearched.vue +++ b/Services/client/src/components/FileSearched.vue @@ -83,7 +83,6 @@ const columns: QTableProps['columns'] = [ field: '', style: 'width: 20px', }, - ] const socket = io(import.meta.env.VITE_API_HOST) @@ -232,6 +231,7 @@ onMounted(() => { description: value.description, keyword: value.keyword, category: value.category, + author: value.author, }, value.pathname, value.fileName,