Merge pull request #1960 from hcengineering/ano/minor-fix

Minor: Fix add attachment console error
This commit is contained in:
Anna No 2022-05-31 17:47:00 +07:00 committed by GitHub
commit 5a99d0dd93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,10 @@
} finally {
loading--
}
inputFile.value = ''
if (inputFile) {
inputFile.value = ''
}
dispatch('attached')
}