File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
static/app/views/organizationGroupDetails Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -224,14 +224,21 @@ class GroupEvents extends Component<Props, State> {
224
224
}
225
225
226
226
render ( ) {
227
+ // New issue actions moves the environment picker to the header
228
+ const hasIssueActionsV2 =
229
+ this . props . organization . features . includes ( 'issue-actions-v2' ) ;
227
230
return (
228
231
< Layout . Body >
229
232
< Layout . Main fullWidth >
230
233
< Wrapper >
231
- < FilterSection >
232
- < EnvironmentPageFilter />
233
- { this . renderSearchBar ( ) }
234
- </ FilterSection >
234
+ { hasIssueActionsV2 ? (
235
+ this . renderSearchBar ( )
236
+ ) : (
237
+ < FilterSection >
238
+ < EnvironmentPageFilter />
239
+ { this . renderSearchBar ( ) }
240
+ </ FilterSection >
241
+ ) }
235
242
{ this . renderBody ( ) }
236
243
</ Wrapper >
237
244
</ Layout . Main >
You can’t perform that action at this time.
0 commit comments