Whilst testing the rxjs6 version I keep getting the following error, which I don't get on the rxjs5 version.
It only happens when doing the following...
For example view blog post (get post), edit post (patch post), return to view post (get post) is where the error is thrown.
order-detail.component.ts:52 TypeError: Cannot read property '_id' of undefined
at filterFn (resource.js:31)
at FilterSubscriber.push.../../node_modules/rxjs/_esm5/internal/operators/filter.js.FilterSubscriber._next (filter.js:78)
at FilterSubscriber.push.../../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:93)
at MergeMapSubscriber.push.../../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber.notifyNext (mergeMap.js:136)
at InnerSubscriber.push.../../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._next (InnerSubscriber.js:20)
at InnerSubscriber.push.../../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:93)
at MapSubscriber.push.../../node_modules/rxjs/_esm5/internal/operators/map.js.MapSubscriber._next (map.js:81)
at MapSubscriber.push.../../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:93)
at Socket.handler (fromEvent.js:135)
at Socket.push.../../node_modules/component-emitter/index.js.Emitter.emit (index.js:133)
Whilst testing the rxjs6 version I keep getting the following error, which I don't get on the rxjs5 version.
It only happens when doing the following...
For example view blog post (get post), edit post (patch post), return to view post (get post) is where the error is thrown.