Update URL generation in gr-related-changes-list
Change-Id: Idb9d2464e473ca167e6794ca5e0a7cbc52d8e933
This commit is contained in:
@@ -188,6 +188,21 @@ limitations under the License.
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {number} changeNum
|
||||
* @param {string} project The name of the project.
|
||||
* @param {number=} opt_patchNum
|
||||
* @return {string}
|
||||
*/
|
||||
getUrlForChangeById(changeNum, project, opt_patchNum) {
|
||||
return this._getUrlFor({
|
||||
view: Gerrit.Nav.View.CHANGE,
|
||||
changeNum,
|
||||
project,
|
||||
patchNum: opt_patchNum,
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {!Object} change The change object.
|
||||
* @param {number=} opt_patchNum
|
||||
|
||||
Reference in New Issue
Block a user