From 8d462d23efb8a9d19028ae99eec06589160f10e9 Mon Sep 17 00:00:00 2001 From: Andrea Del Rio Date: Thu, 19 Mar 2020 12:15:34 -0700 Subject: [PATCH] adding PagerDuty icon to connectors cards --- .../components/builtin_action_types/pagerduty.svg | 13 +++++++++++++ .../components/builtin_action_types/pagerduty.tsx | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.svg diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.svg b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.svg new file mode 100644 index 000000000000..b11dcb3570c2 --- /dev/null +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.svg @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.tsx index 7666129e4abd..b9561854b402 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty.tsx @@ -25,11 +25,12 @@ import { ActionParamsProps, } from '../../../types'; import { PagerDutyActionParams, PagerDutyActionConnector } from './types'; +import pagerDutySvg from './pagerduty.svg'; export function getActionType(): ActionTypeModel { return { id: '.pagerduty', - iconClass: 'apps', + iconClass: pagerDutySvg, selectMessage: i18n.translate( 'xpack.triggersActionsUI.components.builtinActionTypes.pagerDutyAction.selectMessageText', {