From 26e60d658a8d646b3ee2aa7df6883daf41b0c657 Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Thu, 17 Dec 2015 20:30:40 -0800 Subject: [PATCH] fix(async): handle synchronous initial value in async pipe Closes #5996 --- modules/angular2/src/common/pipes/async_pipe.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/angular2/src/common/pipes/async_pipe.ts b/modules/angular2/src/common/pipes/async_pipe.ts index 09c11063f5..0c6eb13482 100644 --- a/modules/angular2/src/common/pipes/async_pipe.ts +++ b/modules/angular2/src/common/pipes/async_pipe.ts @@ -81,6 +81,7 @@ export class AsyncPipe implements PipeTransform, OnDestroy { if (isPresent(obj)) { this._subscribe(obj); } + this._latestReturnedValue = this._latestValue; return this._latestValue; }