mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 16:27:22 +00:00
Attaching the same file fix (#1513)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
dd82165c77
commit
25bc560b8b
@ -39,6 +39,7 @@
|
|||||||
} finally {
|
} finally {
|
||||||
loading--
|
loading--
|
||||||
}
|
}
|
||||||
|
inputFile.value = ''
|
||||||
|
|
||||||
dispatch('attached')
|
dispatch('attached')
|
||||||
}
|
}
|
||||||
|
@ -92,6 +92,7 @@
|
|||||||
const file = list.item(index)
|
const file = list.item(index)
|
||||||
if (file !== null) createAttachment(file)
|
if (file !== null) createAttachment(file)
|
||||||
}
|
}
|
||||||
|
inputFile.value = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function fileDrop (e: DragEvent) {
|
function fileDrop (e: DragEvent) {
|
||||||
|
@ -70,6 +70,7 @@
|
|||||||
const file = list.item(index)
|
const file = list.item(index)
|
||||||
if (file !== null) create(file)
|
if (file !== null) create(file)
|
||||||
}
|
}
|
||||||
|
inputFile.value = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function fileDrop (e: DragEvent) {
|
function fileDrop (e: DragEvent) {
|
||||||
|
@ -67,6 +67,7 @@
|
|||||||
const file = list.item(index)
|
const file = list.item(index)
|
||||||
if (file !== null) createAttachment(file)
|
if (file !== null) createAttachment(file)
|
||||||
}
|
}
|
||||||
|
inputFile.value = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function fileDrop (e: DragEvent) {
|
function fileDrop (e: DragEvent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user