File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
static/app/views/organizationGroupDetails Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,16 @@ class GroupDetails extends Component<Props, State> {
198
198
const { event} = this . state ;
199
199
200
200
const currentRoute = routes [ routes . length - 1 ] ;
201
- const currentTab =
202
- Object . values ( Tab ) . find ( tab => currentRoute . path === TabPaths [ tab ] ) ?? Tab . DETAILS ;
201
+
202
+ let currentTab : Tab ;
203
+ // If we're in the tag details page ("/tags/:tagKey/")
204
+ if ( router . params . tagKey ) {
205
+ currentTab = Tab . TAGS ;
206
+ } else {
207
+ currentTab =
208
+ Object . values ( Tab ) . find ( tab => currentRoute . path === TabPaths [ tab ] ) ??
209
+ Tab . DETAILS ;
210
+ }
203
211
204
212
const baseUrl = `/organizations/${ organization . slug } /issues/${ group . id } /${
205
213
router . params . eventId && event ? `events/${ event . id } /` : ''
You can’t perform that action at this time.
0 commit comments