mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
UBERF-4229: Fix createAttachments runtime error (#3960)
Signed-off-by: Maxim Karmatskikh <mkarmatskih@gmail.com>
This commit is contained in:
parent
89bfabb37d
commit
ce10be3877
@ -74,6 +74,8 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
descriptionBox.createAttachments()
|
||||||
|
|
||||||
const old = getAttribute(client, object, key)
|
const old = getAttribute(client, object, key)
|
||||||
if (description !== old) {
|
if (description !== old) {
|
||||||
await updateAttribute(client, object, object._class, key, description)
|
await updateAttribute(client, object, object._class, key, description)
|
||||||
@ -85,8 +87,6 @@
|
|||||||
} else {
|
} else {
|
||||||
haveUnsavedChanges = false
|
haveUnsavedChanges = false
|
||||||
}
|
}
|
||||||
|
|
||||||
await descriptionBox.createAttachments()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let saveTrigger: any
|
let saveTrigger: any
|
||||||
|
Loading…
Reference in New Issue
Block a user