mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +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
@ -1,14 +1,14 @@
|
||||
<!--
|
||||
// Copyright © 2023 Hardcore Engineering Inc.
|
||||
//
|
||||
//
|
||||
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License. You may
|
||||
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
||||
//
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
//
|
||||
//
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
-->
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user