Skip to content

Commit

Permalink
Update crud.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Saulis committed Mar 9, 2017
1 parent fe84ec5 commit c5e99a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/crud.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h3>CRUD</h3>

_add: function(e) {
if (this.$.firstname.value !== '' && this.$.lastname.value !== '') {
this.items.unshift({user: {name: {first: this.$.firstname.value, last: this.$.lastname.value}}});
this.items.unshift({name: {first: this.$.firstname.value, last: this.$.lastname.value}});
this.$.grid.clearCache();

this.$.firstname.value = '';
Expand Down

0 comments on commit c5e99a9

Please sign in to comment.