Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-09-07 17:15:31 +02:00
parent 8eef9dfe58
commit c880b1c6a2
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0

View File

@ -52,17 +52,22 @@
}
const client = getClient()
client.findOne(chunter.class.Attachment, { _id: newValue.resume }).then(result => {
if (result !== undefined) {
resume = {
id: result._id,
name: result.name,
uuid: result.file,
size: result.size,
type: result.type,
console.log('newValue.resume', newValue.resume)
if (newValue.resume !== undefined) {
client.findOne(chunter.class.Attachment, { _id: newValue.resume }).then(result => {
if (result !== undefined) {
resume = {
id: result._id,
name: result.name,
uuid: result.file,
size: result.size,
type: result.type,
}
}
}
})
})
}
let dragover = false
let loading = false