mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 13:47:26 +03:00
UBERF-4970: Fix component update (#4455)
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
This commit is contained in:
parent
78173c6acb
commit
383b48828e
@ -53,7 +53,7 @@
|
||||
if (Array.isArray(value)) {
|
||||
await Promise.all(
|
||||
value.map(async (p) => {
|
||||
if ('_class' in value) {
|
||||
if ('_class' in p) {
|
||||
await client.update(p, { component: newComponentId })
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user