Change list: fix project links

Links resulted in an error because project dashboard is
not implemented yet. Instead, filter change list just
like it filtered for branches and owners already.

Change-Id: I88a17b91a0af0f6b9cc50381fc7169fbb4e3a4f5
This commit is contained in:
Urs Wolfer
2016-04-09 16:23:47 +02:00
parent b9ce1c69b3
commit 8fe76c5687
2 changed files with 2 additions and 2 deletions

View File

@@ -127,7 +127,7 @@
},
_computeProjectURL: function(project) {
return '/projects/' + project + ',dashboards/default';
return '/q/status:open+project:' + project;
},
_computeProjectBranchURL: function(project, branch) {

View File

@@ -118,7 +118,7 @@ limitations under the License.
{labels: {Verified: {rejected: true}}}, 'Verified'), '✕');
assert.equal(element._computeProjectURL('combustible-stuff'),
'/projects/combustible-stuff,dashboards/default');
'/q/status:open+project:combustible-stuff');
assert.equal(element._computeProjectBranchURL(
'combustible-stuff', 'lemons'),