Skip to content

Commit

Permalink
Updated to display grid even when no items are present
Browse files Browse the repository at this point in the history
  • Loading branch information
danesparza committed Apr 6, 2016
1 parent 2096002 commit 4682ba7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions js/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,11 +614,6 @@ var MainApp = (function (_Component) {
value: function render() {
var _this = this;

// If we don't have config items, we shouldn't display the grid -- display a welcome message
if (this.state.configItems.length == 0) {
return null;
}

var dataList = this.state.configItems.dataList;

// Return the app HTML to render
Expand Down
5 changes: 0 additions & 5 deletions js/components/MainApp.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ class MainApp extends Component {
}

render() {

// If we don't have config items, we shouldn't display the grid -- display a welcome message
if(this.state.configItems.length == 0){
return null;
}

var {dataList} = this.state.configItems;

Expand Down

0 comments on commit 4682ba7

Please sign in to comment.