diff --git a/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.tsx b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.tsx index 9eec7c9db3f9e..4b3aba5d6a3ab 100644 --- a/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.tsx +++ b/x-pack/plugins/uptime/public/components/monitor_management/monitor_list/monitor_enabled.tsx @@ -5,8 +5,7 @@ * 2.0. */ -import { EuiSwitch } from '@elastic/eui'; -import { EuiSwitchEvent } from '@elastic/eui/src/components/form/switch/switch'; +import { EuiSwitch, EuiProgress, EuiSwitchEvent } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React, { useEffect, useState } from 'react'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; @@ -66,15 +65,24 @@ export const MonitorEnabled = ({ id, monitor, setRefresh }: Props) => { }; return ( - +
+ + {isLoading ? ( + + ) : null} +
); };