fix(async): support BehaviorSubjects in async pipe
This commit is contained in:
parent
4a17e6906c
commit
398f024b24
|
@ -81,7 +81,7 @@ export class AsyncPipe implements PipeTransform, OnDestroy {
|
||||||
if (isPresent(obj)) {
|
if (isPresent(obj)) {
|
||||||
this._subscribe(obj);
|
this._subscribe(obj);
|
||||||
}
|
}
|
||||||
return null;
|
return this._latestValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (obj !== this._obj) {
|
if (obj !== this._obj) {
|
||||||
|
|
Loading…
Reference in New Issue