Skip to content

Commit 9dd40b7

Browse files
committed
remove mock data
1 parent 248929d commit 9dd40b7

File tree

1 file changed

+1
-53
lines changed

1 file changed

+1
-53
lines changed

static/app/views/automations/components/automationBuilder.tsx

+1-53
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import SelectField from 'sentry/components/forms/fields/selectField';
66
import {IconAdd, IconDelete, IconMail} from 'sentry/icons';
77
import {t, tct} from 'sentry/locale';
88
import {space} from 'sentry/styles/space';
9-
import {ActionType} from 'sentry/types/workflowEngine/actions';
109
import {
1110
FILTER_DATA_CONDITION_TYPES,
1211
FILTER_MATCH_OPTIONS,
@@ -160,58 +159,7 @@ function ActionFilterBlock({groupIndex}: ActionFilterBlockProps) {
160159
{/* TODO: add actions dropdown here */}
161160
<ActionNodeList
162161
// TODO: replace constant availableActions with API response
163-
availableActions={[
164-
{type: ActionType.EMAIL},
165-
{
166-
type: ActionType.MSTEAMS,
167-
integrations: [
168-
{id: '123', name: 'Test'},
169-
{id: '456', name: 'Test2'},
170-
],
171-
},
172-
{
173-
type: ActionType.DISCORD,
174-
integrations: [
175-
{id: 'serv3', name: 'server 1'},
176-
{id: 'serv6', name: 'server 2'},
177-
],
178-
},
179-
{
180-
type: ActionType.SLACK,
181-
integrations: [
182-
{id: 'serv3', name: 'workspace 1'},
183-
{id: 'serv6', name: 'workspace 2'},
184-
],
185-
},
186-
{
187-
type: ActionType.GITHUB_ENTERPRISE,
188-
integrations: [
189-
{id: 'serv3', name: 'github 1'},
190-
{id: 'serv6', name: 'github 2'},
191-
],
192-
},
193-
{
194-
type: ActionType.PAGERDUTY,
195-
integrations: [
196-
{
197-
id: 'acc1',
198-
name: 'account 1',
199-
services: [
200-
{id: 'serv1', name: 'service 1'},
201-
{id: 'serv2', name: 'service 2'},
202-
],
203-
},
204-
{
205-
id: 'acc2',
206-
name: 'account 2',
207-
services: [
208-
{id: 'serv3', name: 'service 3'},
209-
{id: 'serv4', name: 'service 4'},
210-
],
211-
},
212-
],
213-
},
214-
]}
162+
availableActions={[]}
215163
placeholder={t('Select an action')}
216164
group={`actionFilters.${groupIndex}`}
217165
actions={actionFilterBlock?.actions || []}

0 commit comments

Comments
 (0)