Skip to content

Commit 4cd772c

Browse files
committed
fix serviceField
1 parent 0532e5d commit 4cd772c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/app/views/automations/components/actions/serviceField.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import AutomationBuilderSelectField from 'sentry/components/workflowEngine/form/
22
import {useActionNodeContext} from 'sentry/views/automations/components/actionNodes';
33

44
export function ServiceField() {
5-
const {action, actionId, onUpdate, integrations} = useActionNodeContext();
5+
const {action, actionId, onUpdate, handler} = useActionNodeContext();
66
const integrationId = action.integrationId;
7-
const integration = integrations?.find(i => i.id === integrationId);
7+
const integration = handler.integrations?.find(i => i.id === integrationId);
88

99
if (!integration || !integrationId) {
1010
return null;

0 commit comments

Comments
 (0)