From d0d568b64dc3ecb4a7ddd7ce16288ec859c1c686 Mon Sep 17 00:00:00 2001 From: Tony Xiao Date: Fri, 15 Nov 2024 13:14:13 -0500 Subject: [PATCH] feat(explore): Feature flag old trace view Put the button to go back to the old trace view behind a feature flag. --- static/app/views/explore/content.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/static/app/views/explore/content.tsx b/static/app/views/explore/content.tsx index 0c77cafdf59a00..c17e3493946b69 100644 --- a/static/app/views/explore/content.tsx +++ b/static/app/views/explore/content.tsx @@ -2,6 +2,7 @@ import {useCallback} from 'react'; import styled from '@emotion/styled'; import type {Location} from 'history'; +import Feature from 'sentry/components/acl/feature'; import {Button} from 'sentry/components/button'; import ButtonBar from 'sentry/components/buttonBar'; import FeedbackWidgetButton from 'sentry/components/feedback/widget/feedbackWidgetButton'; @@ -80,9 +81,11 @@ function ExploreContentImpl({}: ExploreContentProps) { - + + +