Merge "Fix using "Default Base For Merges""
This commit is contained in:
@@ -890,12 +890,15 @@
|
||||
_changeChanged(change) {
|
||||
if (!change || !this._patchRange || !this._allPatchSets) { return; }
|
||||
|
||||
// Update patchNum before getting basePatchNum.
|
||||
// We get the parent first so we keep the original value for basePatchNum
|
||||
// and not the updated value.
|
||||
const parent = this._getBasePatchNum(change, this._patchRange);
|
||||
|
||||
this.set('_patchRange.patchNum', this._patchRange.patchNum ||
|
||||
this.computeLatestPatchNum(this._allPatchSets));
|
||||
|
||||
const parent = this._getBasePatchNum(change, this._patchRange);
|
||||
this.set('_patchRange.basePatchNum', parent);
|
||||
|
||||
const title = change.subject + ' (' + change.change_id.substr(0, 9) + ')';
|
||||
this.fire('title-change', {title});
|
||||
},
|
||||
|
Reference in New Issue
Block a user