Attaching the same file fix (#1513)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov 2022-04-25 14:32:24 +06:00 committed by GitHub
parent dd82165c77
commit 25bc560b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View File

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

View File

@ -92,6 +92,7 @@
const file = list.item(index)
if (file !== null) createAttachment(file)
}
inputFile.value = ''
}
function fileDrop (e: DragEvent) {

View File

@ -70,6 +70,7 @@
const file = list.item(index)
if (file !== null) create(file)
}
inputFile.value = ''
}
function fileDrop (e: DragEvent) {

View File

@ -67,6 +67,7 @@
const file = list.item(index)
if (file !== null) createAttachment(file)
}
inputFile.value = ''
}
function fileDrop (e: DragEvent) {