fix(async): support BehaviorSubjects in async pipe

This commit is contained in:
Rob Wormald 2015-12-04 16:43:49 -08:00 committed by vsavkin
parent 4a17e6906c
commit 398f024b24
1 changed files with 1 additions and 1 deletions

View File

@ -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) {