Fixed bug caused by blank claims ( deleted ). #79
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class LighthouseControllers {
|
|||
let cResults = [];
|
||||
for (let pResult of results) {
|
||||
cResults.push(pResult._source.name);
|
||||
if (pResult._source.value.stream !== undefined) {
|
||||
if (pResult._source && pResult._source.value.stream !== undefined) {
|
||||
cResults.push(pResult._source.value.stream.metadata.title);
|
||||
cResults.push(pResult._source.value.stream.metadata.author);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue