Commit b77d8779 authored by Mark Harding's avatar Mark Harding

(fix): jolting feed when supressing not found error

parent 45b14c3c
No related merge requests found
Pipeline #81748777 running with stages
......@@ -67,12 +67,14 @@ export class EntitiesService {
if (
this.entities.has(feedItem.urn) &&
(!blockedGuids || blockedGuids.indexOf(feedItem.owner_guid) < 0)
)
entities.push(
this.entities
.get(feedItem.urn)
.pipe(catchError(err => new BehaviorSubject(null)))
);
) {
const entity = this.entities.get(feedItem.urn);
try {
if (await entity.pipe(first()).toPromise()) {
entities.push(entity);
}
} catch (err) {}
}
}
return entities;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment