Fix TypeError: Cannot read property 'length' of undefined
Bug: Issue 6838 Change-Id: I6c8529f2abf2354654e0bb34b9244bd2cd16b579
This commit is contained in:
@@ -118,6 +118,7 @@
|
||||
this._changesPerPage = prefs.changes_per_page;
|
||||
return this._getChanges();
|
||||
}).then(changes => {
|
||||
changes = changes || [];
|
||||
if (this._query && changes.length === 1) {
|
||||
for (const query in LookupQueryPatterns) {
|
||||
if (LookupQueryPatterns.hasOwnProperty(query) &&
|
||||
|
Reference in New Issue
Block a user