From f4c5757a1dd68ad0318803e4c562898f1f53c0e0 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:06:02 +0700 Subject: [PATCH] feat: stats and action button admin only --- Services/client/src/components/FileItem.vue | 23 +++++++++++---------- Services/client/src/components/ListView.vue | 4 ++-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Services/client/src/components/FileItem.vue b/Services/client/src/components/FileItem.vue index 56f39cd..62b922b 100644 --- a/Services/client/src/components/FileItem.vue +++ b/Services/client/src/components/FileItem.vue @@ -17,7 +17,7 @@ const props = withDefaults( action: false, }, ) -const DEPT_NAME = ['ตู้เอกสาร', 'ลิ้นชัก', 'แฟ้ม', 'แฟ้ม'] as const +const DEPT_NAME = ['ตู้เอกสาร', 'ลิ้นชัก', 'แฟ้ม', 'แฟ้มย่อย'] as const const { getFileInfo } = useFileInfoStore() const { currentFolder, currentFile, currentDept, currentPath } = storeToRefs(useTreeDataStore()) @@ -183,10 +183,10 @@ async function submitFileForm(