From f58d6107e1e102b4a70aeef8bf59c16ef76a90e0 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Tue, 25 Oct 2022 17:11:05 +0200 Subject: [PATCH] [v9.2.x] Alerting: Always allow configuring AM configuration (#57614) Co-authored-by: Gilles De Mey --- .../admin/ExternalAlertmanagers.tsx | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/public/app/features/alerting/unified/components/admin/ExternalAlertmanagers.tsx b/public/app/features/alerting/unified/components/admin/ExternalAlertmanagers.tsx index 9c5002eadc6..1f7e3833248 100644 --- a/public/app/features/alerting/unified/components/admin/ExternalAlertmanagers.tsx +++ b/public/app/features/alerting/unified/components/admin/ExternalAlertmanagers.tsx @@ -136,8 +136,6 @@ export const ExternalAlertmanagers = () => { }; const noAlertmanagers = externalAlertManagers?.length === 0; - const noDsAlertmanagers = externalDsAlertManagers?.length === 0; - const hasExternalAlertmanagers = !(noAlertmanagers && noDsAlertmanagers); return (
@@ -155,20 +153,18 @@ export const ExternalAlertmanagers = () => { inactive={alertmanagersChoice === AlertmanagerChoice.Internal} /> - {hasExternalAlertmanagers && ( -
- - onChangeAlertmanagerChoice(value!)} - /> - -
- )} +
+ + onChangeAlertmanagerChoice(value!)} + /> + +
Alertmanagers by URL