Skip to content

Commit

Permalink
BUGFIX: Files not moving or deleting unless selected. Fixes #54
Browse files Browse the repository at this point in the history
  • Loading branch information
Uncle Cheese committed Sep 5, 2016
1 parent 6fd1eee commit ff7e7b1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions javascript/build/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -56813,11 +56813,11 @@
},

handleMove: function handleMove(data) {
_actionsNavigation2['default'].goToMoveItems(_storesFolderItemsStore2['default'].get('folderID'), this.state.selected ? _storesSelectedItemsStore2['default'].get('data').toJS() : [data]);
_actionsNavigation2['default'].goToMoveItems(_storesFolderItemsStore2['default'].get('folderID'), this.state.selected ? _storesSelectedItemsStore2['default'].get('data').toJS() : [data.id]);
},

handleDelete: function handleDelete(data) {
var items = this.props.selected ? _storesSelectedItemsStore2['default'].column('id') : [data];
var items = this.props.selected ? _storesSelectedItemsStore2['default'].column('id') : [data.id];

_actionsActions2['default'].deleteItems(items);
},
Expand Down
Loading

0 comments on commit ff7e7b1

Please sign in to comment.