File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
static/app/views/performance/newTraceDetails/traceDrawer/details/span/eapSections Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ import {makeReplaysPathname} from 'sentry/views/replays/pathnames';
31
31
32
32
type CustomRenderersProps = AttributesFieldRendererProps < RenderFunctionBaggage > ;
33
33
34
+ const HIDDEN_ATTRIBUTES = [ 'is_segment' , 'project_id' , 'received' ] ;
35
+
34
36
export function Attributes ( {
35
37
node,
36
38
attributes,
@@ -60,8 +62,10 @@ export function Attributes({
60
62
return sorted ;
61
63
}
62
64
63
- return sorted . filter ( attribute =>
64
- attribute . name . toLowerCase ( ) . trim ( ) . includes ( searchQuery . toLowerCase ( ) . trim ( ) )
65
+ return sorted . filter (
66
+ attribute =>
67
+ ! HIDDEN_ATTRIBUTES . includes ( attribute . name ) &&
68
+ attribute . name . toLowerCase ( ) . trim ( ) . includes ( searchQuery . toLowerCase ( ) . trim ( ) )
65
69
) ;
66
70
} , [ attributes , searchQuery ] ) ;
67
71
You can’t perform that action at this time.
0 commit comments