Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions static/app/views/explore/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -80,9 +81,11 @@ function ExploreContentImpl({}: ExploreContentProps) {
</Layout.HeaderContent>
<Layout.HeaderActions>
<ButtonBar gap={1}>
<Button onClick={switchToOldTraceExplorer} size="sm">
{t('Switch to Old Trace Explore')}
</Button>
<Feature organization={organization} features="visibility-explore-admin">
<Button onClick={switchToOldTraceExplorer} size="sm">
{t('Switch to Old Trace Explore')}
</Button>
</Feature>
<FeedbackWidgetButton />
</ButtonBar>
</Layout.HeaderActions>
Expand Down
Loading