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:
@@ -127,7 +127,7 @@
|
||||
},
|
||||
|
||||
_computeProjectURL: function(project) {
|
||||
return '/projects/' + project + ',dashboards/default';
|
||||
return '/q/status:open+project:' + project;
|
||||
},
|
||||
|
||||
_computeProjectBranchURL: function(project, branch) {
|
||||
|
@@ -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'),
|
||||
|
Reference in New Issue
Block a user