Browse Source

ref(uptime): Always empty uptime alert pages (#75873)

This does not actually expose anything related to uptime rules yet,
since in order to do anything with up time right now a rule will have to
have been generated. So for now just set it to constant true.
Evan Purkhiser 7 months ago
parent
commit
5c3e33a948
1 changed files with 3 additions and 1 deletions
  1. 3 1
      static/app/views/alerts/index.tsx

+ 3 - 1
static/app/views/alerts/index.tsx

@@ -10,7 +10,9 @@ type Props = {
 function AlertsContainer({children}: Props) {
   const organization = useOrganization();
   const hasMetricAlerts = organization.features.includes('incidents');
-  const hasUptimeAlerts = organization.features.includes('uptime-rule-api');
+
+  // Uptime alerts are not behind a feature flag at the moment
+  const hasUptimeAlerts = true;
 
   const content =
     children && isValidElement(children)