@@ -68,6 +68,7 @@ export default class SidebarRight extends React.PureComponent {
6868 username : PropTypes . string ,
6969 orgs : PropTypes . array . isRequired ,
7070 enterpriseURL : PropTypes . string ,
71+ mentions : PropTypes . arrayOf ( PropTypes . object ) ,
7172 reviews : PropTypes . arrayOf ( PropTypes . object ) ,
7273 unreads : PropTypes . arrayOf ( PropTypes . object ) ,
7374 yourPrs : PropTypes . arrayOf ( PropTypes . object ) ,
@@ -107,7 +108,7 @@ export default class SidebarRight extends React.PureComponent {
107108 orgQuery += ( '+org%3A' + org ) ;
108109 return orgQuery ;
109110 } ) ;
110- const { yourPrs, reviews, unreads, yourAssignments, username, rhsState} = this . props ;
111+ const { yourPrs, mentions , reviews, unreads, yourAssignments, username, rhsState} = this . props ;
111112
112113 let title = '' ;
113114 let githubItems = [ ] ;
@@ -120,6 +121,13 @@ export default class SidebarRight extends React.PureComponent {
120121 title = 'Your Open Pull Requests' ;
121122 listUrl = baseURL + '/pulls?q=is%3Aopen+is%3Apr+author%3A' + username + '+archived%3Afalse' + orgQuery ;
122123
124+ break ;
125+ case RHSStates . MENTIONS :
126+
127+ githubItems = mentions ;
128+ title = 'Your mentions' ;
129+ listUrl = baseURL + '/pulls?q=is%3Aopen+is%3Apr+mentions%3A' + username + '+archived%3Afalse' + orgQuery ;
130+
123131 break ;
124132 case RHSStates . REVIEWS :
125133
0 commit comments