Skip to content

Commit 5c3e33a

Browse files
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.
1 parent 21d8f3c commit 5c3e33a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

static/app/views/alerts/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ type Props = {
1010
function AlertsContainer({children}: Props) {
1111
const organization = useOrganization();
1212
const hasMetricAlerts = organization.features.includes('incidents');
13-
const hasUptimeAlerts = organization.features.includes('uptime-rule-api');
13+
14+
// Uptime alerts are not behind a feature flag at the moment
15+
const hasUptimeAlerts = true;
1416

1517
const content =
1618
children && isValidElement(children)

0 commit comments

Comments
 (0)