SONAR-8373 Change the "Issues" link in the global navigation

This commit is contained in:
Stas Vilchik 2016-11-09 14:11:06 +01:00
parent b2eb4f11fd
commit 7a5ed51a7f

View File

@ -40,7 +40,8 @@ export default React.createClass({
},
renderIssuesLink () {
const url = window.baseUrl + '/issues';
const query = window.SS.user ? '#resolved=false|assigned_to_me=true' : '#resolved=false';
const url = window.baseUrl + '/issues' + query;
return (
<li className={this.activeLink('/issues')}>
<a href={url}>{translate('issues.page')}</a>