Skip to content

Commit b9817b7

Browse files
correct operation names
1 parent 34c86f4 commit b9817b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cloud/components/Automations/PipeBuilder.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const SUPPORTED_EVENT_NAMES = Object.keys(supportedEvents).map((key) => {
1919
})
2020

2121
const SUPPORTED_ACTION_OPTIONS = [
22-
{ value: 'boost.doc.create', label: 'boost.doc.create' },
23-
{ value: 'boost.doc.update', label: 'boost.doc.update' },
22+
{ value: 'boost.docs.create', label: 'boost.docs.create' },
23+
{ value: 'boost.docs.update', label: 'boost.docs.update' },
2424
]
2525

2626
interface PipeBuilderProps {
@@ -114,14 +114,14 @@ const PipeBuilder = ({ pipe, onChange }: PipeBuilderProps) => {
114114
</FormRowItem>
115115
</FormRow>
116116
<FormRow>
117-
{action.value === 'boost.doc.create' && (
117+
{action.value === 'boost.docs.create' && (
118118
<CreateDocActionConfigurator
119119
configuration={pipe.configuration.input}
120120
onChange={updateConfig}
121121
eventType={currentEvent}
122122
/>
123123
)}
124-
{action.value === 'boost.doc.update' && (
124+
{action.value === 'boost.docs.update' && (
125125
<UpdateDocActionConfigurator
126126
configuration={pipe.configuration.input}
127127
onChange={updateConfig}

0 commit comments

Comments
 (0)