Merge "Put a better guard to prevent runtime exception"
This commit is contained in:
@@ -297,8 +297,9 @@
|
|||||||
}
|
}
|
||||||
return this._mapReviewer(reviewer);
|
return this._mapReviewer(reviewer);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
if (this.serverConfig.note_db_enabled) {
|
var ccsEl = this.$$('#ccs');
|
||||||
this.$$('#ccs').additions().forEach(function(reviewer) {
|
if (ccsEl) {
|
||||||
|
ccsEl.additions().forEach(function(reviewer) {
|
||||||
if (reviewer.account) {
|
if (reviewer.account) {
|
||||||
accountAdditions[reviewer.account._account_id] = true;
|
accountAdditions[reviewer.account._account_id] = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user