File tree 1 file changed +11
-3
lines changed
static/app/views/issueDetails/groupTags
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -157,17 +157,25 @@ function TagDetailsRow({
157
157
tagValue : TagValue ;
158
158
} ) {
159
159
const organization = useOrganization ( ) ;
160
+ const location = useLocation ( ) ;
160
161
161
162
const key = tagValue . key ?? tag . key ;
162
163
const query =
163
164
key === 'environment'
164
165
? {
165
166
environment : tagValue . value ,
167
+ query : undefined ,
166
168
}
167
- : { query : tagValue . query || `${ key } :"${ tagValue . value } "` } ;
169
+ : {
170
+ query : tagValue . query || `${ key } :"${ tagValue . value } "` ,
171
+ } ;
172
+
168
173
const allEventsLocation = {
169
- pathname : `/organizations/${ organization . slug } /issues/${ group . id } /events/` ,
170
- query,
174
+ pathname : `/organizations/${ organization . slug } /issues/${ group . id } /events/recommended/` ,
175
+ query : {
176
+ ...location . query ,
177
+ ...query ,
178
+ } ,
171
179
} ;
172
180
const percentage = Math . round ( percent ( tagValue . count ?? 0 , tag . totalValues ?? 0 ) ) ;
173
181
const displayPercentage = percentage < 1 ? '<1%' : `${ percentage . toFixed ( 0 ) } %` ;
You can’t perform that action at this time.
0 commit comments