mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Always allow configuring AM configuration (#57522)
This commit is contained in:
parent
7414ba7279
commit
8788f7d2d8
@ -130,8 +130,6 @@ export const ExternalAlertmanagers = () => {
|
||||
};
|
||||
|
||||
const noAlertmanagers = externalAlertManagers?.length === 0;
|
||||
const noDsAlertmanagers = externalDsAlertManagers?.length === 0;
|
||||
const hasExternalAlertmanagers = !(noAlertmanagers && noDsAlertmanagers);
|
||||
|
||||
return (
|
||||
<div>
|
||||
@ -149,7 +147,6 @@ export const ExternalAlertmanagers = () => {
|
||||
inactive={alertmanagersChoice === AlertmanagerChoice.Internal}
|
||||
/>
|
||||
|
||||
{hasExternalAlertmanagers && (
|
||||
<div className={styles.amChoice}>
|
||||
<Field
|
||||
label="Send alerts to"
|
||||
@ -162,7 +159,6 @@ export const ExternalAlertmanagers = () => {
|
||||
/>
|
||||
</Field>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<h5>Alertmanagers by URL</h5>
|
||||
<Alert severity="warning" title="Deprecation Notice">
|
||||
|
Loading…
Reference in New Issue
Block a user