UBERF-4970: Fix component update (#4455)

Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
This commit is contained in:
agrigorovich-xored 2024-01-25 17:42:17 +01:00 committed by GitHub
parent 78173c6acb
commit 383b48828e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 })
}
})