he
This commit is contained in:
parent
df7c642077
commit
80df04d3f6
3 changed files with 37 additions and 12 deletions
|
|
@ -17,12 +17,13 @@ export function FormatProperties(properties: any) {
|
|||
delete properties.anchor
|
||||
}
|
||||
|
||||
if (Object.keys(property_bags))
|
||||
if (Object.keys(property_bags).length) {
|
||||
if (properties.property_bags) {
|
||||
properties.property_bags = { ...property_bags, ...properties.property_bags }
|
||||
} else {
|
||||
properties.property_bags = property_bags
|
||||
}
|
||||
}
|
||||
|
||||
return properties
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue