Skip to content

Commit

Permalink
fix(geography): don't cycle if we don't have any components
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Feb 3, 2016
1 parent 88d4403 commit a6afb46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addon/mixins/occlusion-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,10 @@ export default Mixin.create({
const edges = this.get('_edges');
const childComponents = this.get('children');

if (!get(childComponents, 'length')) {
return;
}

if (this._isFirstRender) {
if (this.get('renderAllInitially')) {
childComponents.forEach((i) => {
Expand Down

0 comments on commit a6afb46

Please sign in to comment.