Skip to content
Merged
Changes from 3 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
6 changes: 0 additions & 6 deletions static/gsApp/views/seerAutomation/scmRequired.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {Text, Heading} from '@sentry/scraps/text';
import {useIsSeerSupportedProvider} from 'sentry/components/events/autofix/utils';
import {LoadingError} from 'sentry/components/loadingError';
import {LoadingIndicator} from 'sentry/components/loadingIndicator';
import {NoAccess} from 'sentry/components/noAccess';
import {Redirect} from 'sentry/components/redirect';
import {IconOpen} from 'sentry/icons/iconOpen';
import {t, tct} from 'sentry/locale';
Expand All @@ -28,7 +27,6 @@ export default function SeerAutomationSCMRequired() {
const organization = useOrganization();

const hasSeatBasedSeer = organization.features.includes('seat-based-seer-enabled');
const hasLegacySeer = organization.features.includes('seer-added');
const hasCodeReviewBeta = organization.features.includes('code-review-beta');
const hasGitLabSupport = organization.features.includes('seer-gitlab-support');
const isSeerSupportedProvider = useIsSeerSupportedProvider();
Expand Down Expand Up @@ -56,10 +54,6 @@ export default function SeerAutomationSCMRequired() {
) ?? [],
});

Comment thread
sentry[bot] marked this conversation as resolved.
if (!hasSeatBasedSeer && !hasLegacySeer && !hasCodeReviewBeta) {
return <NoAccess />;
}

if (!showNewSeer(organization) && !hasCodeReviewBeta) {
return <Redirect to={normalizeUrl(`/settings/${organization.slug}/seer/`)} />;
}
Expand Down
Loading