Merge branch 'phatt' into development

This commit is contained in:
puri-ph4tt 2023-12-08 13:15:34 +07:00
commit cb8071db6f
2 changed files with 4 additions and 0 deletions

View file

@ -84,6 +84,7 @@ onMounted(async () => {
currentPath = ''
getFolder(currentPath)
isSearch = false
isFilePreview = false
}
"
>ดเกบเอกสาร</span

View file

@ -4,7 +4,9 @@ import { storeToRefs } from 'pinia'
import profile from '@/components/Profile.vue'
import { useTreeDataStore } from '@/stores/tree-data'
import { useSearchDataStore } from '@/stores/searched-data';
import { useFileInfoStore } from '@/stores/file-info-data';
const { currentPath } = storeToRefs(useTreeDataStore())
const { isFilePreview } = storeToRefs(useFileInfoStore())
const { isSearch } = storeToRefs(useSearchDataStore())
const { getFolder } = useTreeDataStore()
const loaderStore = useLoader()
@ -35,6 +37,7 @@ const { loader } = storeToRefs(loaderStore)
currentPath = ''
getFolder(currentPath)
isSearch = false
isFilePreview = false
}
"
>