Browse Source

fix(perf): Omit sort when switching between landing tabs (#30171)

The tabs have their own default sort and any sort picked from the table might not be compatible with other tabs. This removes the sort when switching tabs.
Kev 3 years ago
parent
commit
712896fe4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/views/performance/landing/utils.tsx

+ 1 - 1
static/app/views/performance/landing/utils.tsx

@@ -110,7 +110,7 @@ export function handleLandingDisplayChange(
   searchConditions.removeFilter('transaction.op');
 
   const queryWithConditions = {
-    ...omit(location.query, 'landingDisplay'),
+    ...omit(location.query, ['landingDisplay', 'sort']),
     query: searchConditions.formatString(),
   };