Skip to content

Commit 7ed9ed0

Browse files
committed
1793 - handle FILE_ENTRY property the same as OBJECT_BUILDER
1 parent 6e8817c commit 7ed9ed0

File tree

1 file changed

+1
-3
lines changed
  • client/src/pages/platform/workflow-editor/components/Properties

1 file changed

+1
-3
lines changed

client/src/pages/platform/workflow-editor/components/Properties/Property.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ const Property = ({
989989
/>
990990
)}
991991

992-
{controlType === 'OBJECT_BUILDER' && (
992+
{(controlType === 'OBJECT_BUILDER' || type === 'FILE_ENTRY') && (
993993
<ObjectProperty
994994
arrayIndex={arrayIndex}
995995
arrayName={arrayName}
@@ -1000,8 +1000,6 @@ const Property = ({
10001000
/>
10011001
)}
10021002

1003-
{type === 'FILE_ENTRY' && <ObjectProperty operationName={operationName} property={property} />}
1004-
10051003
{control && (isValidControlType || isNumericalInput) && path && (
10061004
<>
10071005
<Controller

0 commit comments

Comments
 (0)