fix(async): handle synchronous initial value in async pipe

Closes #5996
This commit is contained in:
Rob Wormald
2016-02-03 03:56:52 +00:00
committed by Alex Eagle
parent c2ceb7fba4
commit 26e60d658a
@@ -81,6 +81,7 @@ export class AsyncPipe implements PipeTransform, OnDestroy {
if (isPresent(obj)) {
this._subscribe(obj);
}
this._latestReturnedValue = this._latestValue;
return this._latestValue;
}