Skip to content

Commit 5c7a007

Browse files
committed
3807 - let ObjectProperty handle Object properties that are subproperties of ArrayProperty
1 parent 201f1a7 commit 5c7a007

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

client/src/pages/platform/workflow-editor/components/properties/ArrayProperty.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ const ArrayProperty = ({onDeleteClick, parentArrayItems, path, property}: ArrayP
8282
setArrayItems([...arrayItems, newItem]);
8383

8484
if (updateWorkflowNodeParameterMutation || updateClusterElementParameterMutation) {
85+
if (newItemType === 'OBJECT') {
86+
return;
87+
}
88+
8589
saveProperty({
8690
includeInMetadata: true,
8791
path: newItemPath,

0 commit comments

Comments
 (0)