mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix incorrect warning for OnCall integration (#93085)
Remove warning when geting oncall metadata Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
This commit is contained in:
parent
1783b47545
commit
be4798096a
@ -30,6 +30,10 @@ export function getOnCallMetadata(
|
||||
return onCallReceiverMeta;
|
||||
}
|
||||
|
||||
if (!receiver.settings?.url) {
|
||||
return onCallReceiverMeta;
|
||||
}
|
||||
|
||||
// oncall status is still loading
|
||||
if (onCallIntegrations === undefined) {
|
||||
return onCallReceiverMeta;
|
||||
|
Loading…
Reference in New Issue
Block a user