Skip to content

Commit

Permalink
chore(issue-details): Add opt out for new UI (#74985)
Browse files Browse the repository at this point in the history
this pr adds an opt out for the new issue details ui updates
  • Loading branch information
roggenkemper committed Jul 25, 2024
1 parent 5dde66a commit 9de90e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions static/app/views/issueDetails/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ export function getGroupEventDetailsQueryData({
export function useHasStreamlinedUI() {
const location = useLocation();
const organization = useOrganization();
if (location.query.streamline === '0') {
return false;
}
return (
location.query.streamline === '1' ||
organization.features.includes('issue-details-streamline')
Expand Down

0 comments on commit 9de90e9

Please sign in to comment.