UBERF-4229: Fix createAttachments runtime error (#3960)

Signed-off-by: Maxim Karmatskikh <mkarmatskih@gmail.com>
This commit is contained in:
Maksim Karmatskikh 2023-11-17 17:54:31 +01:00 committed by GitHub
parent 89bfabb37d
commit ce10be3877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,8 @@
return
}
descriptionBox.createAttachments()
const old = getAttribute(client, object, key)
if (description !== old) {
await updateAttribute(client, object, object._class, key, description)
@ -85,8 +87,6 @@
} else {
haveUnsavedChanges = false
}
await descriptionBox.createAttachments()
}
let saveTrigger: any