File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/sentry/static/sentry/app/views/issueList Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import PropTypes from 'prop-types' ;
33
4+ import Feature from 'app/components/acl/feature' ;
45import DropdownControl , { DropdownItem } from 'app/components/dropdownControl' ;
56import { t } from 'app/locale' ;
67
@@ -22,6 +23,8 @@ const IssueListSortOptions = ({onSelect, sort}: Props) => {
2223 return t ( 'Events' ) ;
2324 case 'user' :
2425 return t ( 'Users' ) ;
26+ case 'trend' :
27+ return t ( 'Relative Change' ) ;
2528 case 'date' :
2629 default :
2730 return t ( 'Last Seen' ) ;
@@ -41,6 +44,7 @@ const IssueListSortOptions = ({onSelect, sort}: Props) => {
4144 { getMenuItem ( 'new' ) }
4245 { getMenuItem ( 'freq' ) }
4346 { getMenuItem ( 'user' ) }
47+ < Feature features = { [ 'issue-list-trend-sort' ] } > { getMenuItem ( 'trend' ) } </ Feature >
4448 </ DropdownControl >
4549 ) ;
4650} ;
You can’t perform that action at this time.
0 commit comments