From 65b05737fbc6f79538456d59a067c6817edd4d0e Mon Sep 17 00:00:00 2001 From: puri-ph4tt Date: Fri, 15 Dec 2023 09:01:15 +0700 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E0=B9=81=E0=B8=AA=E0=B8=94?= =?UTF-8?q?=E0=B8=87=E0=B8=88=E0=B8=B3=E0=B8=99=E0=B8=A7=E0=B8=99=E0=B8=A3?= =?UTF-8?q?=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=97=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=84=E0=B9=89=E0=B8=99=E0=B8=AB=E0=B8=B2,=20?= =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82=E0=B9=81=E0=B8=AA?= =?UTF-8?q?=E0=B8=AA=E0=B8=94=E0=B8=87=E0=B8=8A=E0=B8=B7=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B9=84=E0=B8=9F=E0=B8=A5=E0=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/client/src/components/FileSearched.vue | 16 ++++++++++------ Services/client/src/components/ListView.vue | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Services/client/src/components/FileSearched.vue b/Services/client/src/components/FileSearched.vue index f11740d..3bcb653 100644 --- a/Services/client/src/components/FileSearched.vue +++ b/Services/client/src/components/FileSearched.vue @@ -6,9 +6,10 @@ import { storeToRefs } from 'pinia' import { useSearchDataStore } from '@/stores/searched-data' import { useFileInfoStore } from '@/stores/file-info-data' import useStorage from '@/stores/storage' +import type { StorageFile } from '@/stores/storage' -import DialogDelete from './DialogDelete.vue' -import FileFormWrapper from './FileFormWrapper.vue' +import DialogDelete from '@/components/DialogDelete.vue' +import FileFormWrapper from '@/components/FileFormWrapper.vue' import FileItemAction from '@/components/FileItemAction.vue' import FileIcon from '@/components/FileIcon.vue' @@ -33,7 +34,7 @@ const keywordList = ref([]) const categoryList = ref([]) const selectKeyword = ref([]) const selectCategory = ref([]) -const filterFoundFile = ref() +const filterFoundFile = ref() const deleteFormType = ref<'deleteFile'>('deleteFile') const dialogDeleteState = ref(false) @@ -161,6 +162,7 @@ onMounted(() => {
+ จำนวน {{ filterFoundFile?.length }} รายการ
{ category: value.category, }, value.pathname, + value.fileName, ) " @delete="() => triggerFileDelete(value.pathname)" @@ -224,13 +227,13 @@ onMounted(() => {