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:
1 parent
1783b47545
commit
be4798096a
1 file changed
+4
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user