From 03ec2995cd114e0359a00cc681a5e5f903603b02 Mon Sep 17 00:00:00 2001 From: Justin Kambic Date: Thu, 14 May 2020 12:55:50 -0400 Subject: [PATCH] Allow external editing of uptime client alert types. --- x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx | 2 +- x-pack/plugins/uptime/public/lib/alert_types/tls.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx b/x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx index 74bdbebab7185..17e6c06db03d3 100644 --- a/x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx +++ b/x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx @@ -76,5 +76,5 @@ export const initMonitorStatusAlertType: AlertTypeInitializer = ({ ), validate, defaultActionMessage, - requiresAppContext: true, + requiresAppContext: false, }); diff --git a/x-pack/plugins/uptime/public/lib/alert_types/tls.tsx b/x-pack/plugins/uptime/public/lib/alert_types/tls.tsx index 0676b6cfa17f2..7648d567b5315 100644 --- a/x-pack/plugins/uptime/public/lib/alert_types/tls.tsx +++ b/x-pack/plugins/uptime/public/lib/alert_types/tls.tsx @@ -25,5 +25,5 @@ export const initTlsAlertType: AlertTypeInitializer = ({ store }): AlertTypeMode name, validate: () => ({ errors: {} }), defaultActionMessage, - requiresAppContext: true, + requiresAppContext: false, });