Browse Source

chore(issue-details): Add opt out for new UI (#74985)

this pr adds an opt out for the new issue details ui updates
Richard Roggenkemper 7 months ago
parent
commit
9de90e94d5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      static/app/views/issueDetails/utils.tsx

+ 3 - 0
static/app/views/issueDetails/utils.tsx

@@ -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')