From bcaaf5130a2081ef3b78c5185a891ff3a14d737b Mon Sep 17 00:00:00 2001 From: Evan Purkhiser Date: Fri, 20 Sep 2024 14:21:40 -0400 Subject: [PATCH] feat(uptime): Switch wizard display to diff feature flag --- static/app/views/alerts/wizard/index.spec.tsx | 2 +- static/app/views/alerts/wizard/options.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/app/views/alerts/wizard/index.spec.tsx b/static/app/views/alerts/wizard/index.spec.tsx index 6ef337a655072f..af0bf4feed087a 100644 --- a/static/app/views/alerts/wizard/index.spec.tsx +++ b/static/app/views/alerts/wizard/index.spec.tsx @@ -112,7 +112,7 @@ describe('AlertWizard', () => { 'incidents', 'performance-view', 'crash-rate-alerts', - 'uptime-api-create-update', + 'organizations:uptime-display-wizard-create', ], access: ['org:write', 'alerts:write'], }, diff --git a/static/app/views/alerts/wizard/options.tsx b/static/app/views/alerts/wizard/options.tsx index 504a6595a36592..7eef2fdb46516f 100644 --- a/static/app/views/alerts/wizard/options.tsx +++ b/static/app/views/alerts/wizard/options.tsx @@ -133,7 +133,7 @@ export const getAlertWizardCategories = (org: Organization) => { options: ['llm_tokens', 'llm_cost'], }); } - if (org.features.includes('uptime-api-create-update')) { + if (org.features.includes('organizations:uptime-display-wizard-create')) { result.push({ categoryHeading: t('Uptime'), options: ['uptime_monitor'],