diff --git a/examples/unfinished/shark/client/shark.html b/examples/unfinished/shark/client/shark.html index 97aa8c8a0b..41fd12222b 100644 --- a/examples/unfinished/shark/client/shark.html +++ b/examples/unfinished/shark/client/shark.html @@ -5,5 +5,7 @@ {{#each items}}
{{text}}
+{{else}} + Empty {{/each}} diff --git a/packages/ui/component.js b/packages/ui/component.js index 0207867364..d3d803d28b 100644 --- a/packages/ui/component.js +++ b/packages/ui/component.js @@ -505,7 +505,7 @@ _.extend(Component.prototype, { oldChild.constructor === newChild.constructor) { oldChild.update(newChild._args); } else if (this.stage !== Component.BUILT || - oldChild !== Component.BUILT || + oldChild.stage !== Component.BUILT || ! oldChild.isAttached) { this.removeChild(key); this.addChild(newKey, newChild);