Skip to content

Commit

Permalink
Fix laboratory bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
edhager committed Jun 13, 2017
1 parent f7f20a3 commit b1d7ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/laboratory/widgets/FeatureGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ define([
collection: this.store.filter({ featureType: this.featureType }),
gridTypeForm: this.gridTypeForm
}, this.gridNode);
this._startupWidgets.push(this.grid);
this._startupWidgets ? this._startupWidgets.push(this.grid) : this._startupWidgets = [this.grid];
},

postCreate: function () {
Expand Down

0 comments on commit b1d7ea8

Please sign in to comment.