fix: error when edit on search

This commit is contained in:
Methapon2001 2024-01-17 11:11:42 +07:00
parent a36c73dedf
commit e655b9b325
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -108,7 +108,7 @@ async function submitFileForm(
) {
currentParam.value = value
const fileInfo = file.value[currentInfo.value.path].find(
const fileInfo = file.value[currentInfo.value.path]?.find(
(v) => v.fileName === value.file?.name,
)