File tree 1 file changed +12
-15
lines changed
static/app/views/issueDetails/groupTags
1 file changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -84,25 +84,23 @@ function getHeaderTitle(
84
84
}
85
85
86
86
function DrawerContent ( {
87
- data,
88
- tagKey,
89
- tab,
87
+ displayTags,
90
88
group,
91
89
environments,
92
90
search,
93
- isPending,
94
- isHighlightsPending,
91
+ isLoading,
95
92
isError,
96
93
refetch,
97
- displayTags,
94
+ tab,
95
+ tagKey,
96
+ data,
98
97
} : {
99
98
data : GroupTag [ ] ;
100
99
displayTags : GroupTag [ ] ;
101
100
environments : string [ ] ;
102
101
group : Group ;
103
102
isError : boolean ;
104
- isHighlightsPending : boolean ;
105
- isPending : boolean ;
103
+ isLoading : boolean ;
106
104
refetch : ( ) => void ;
107
105
search : string ;
108
106
tab : DrawerTab ;
@@ -126,7 +124,7 @@ function DrawerContent({
126
124
) ;
127
125
}
128
126
129
- if ( isPending || isHighlightsPending ) {
127
+ if ( isLoading ) {
130
128
return < LoadingIndicator /> ;
131
129
}
132
130
@@ -368,17 +366,16 @@ export function GroupTagsDrawer({
368
366
</ EventNavigator >
369
367
< EventDrawerBody >
370
368
< DrawerContent
371
- data = { data }
372
- tagKey = { tagKey }
373
- tab = { tab as DrawerTab }
369
+ displayTags = { displayTags }
374
370
group = { group }
375
371
environments = { environments }
376
372
search = { search }
377
- isPending = { isPending }
378
- isHighlightsPending = { isHighlightsPending }
373
+ isLoading = { isPending || isHighlightsPending }
379
374
isError = { isError }
380
375
refetch = { refetch }
381
- displayTags = { displayTags }
376
+ tab = { tab as DrawerTab }
377
+ tagKey = { tagKey }
378
+ data = { data }
382
379
/>
383
380
</ EventDrawerBody >
384
381
</ EventDrawerContainer >
You can’t perform that action at this time.
0 commit comments