Fix deprecated lodash pluck call

This commit is contained in:
John Furrow
2016-02-14 17:22:28 -08:00
parent fb5e0ce226
commit 0bf9594c97
3 changed files with 3 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ export default class AddTorrents extends React.Component {
handleAddTorrents() {
this.setState({isAddingTorrents: true});
let torrentUrls = _.pluck(this.state.urlTextboxes, 'value');
let torrentUrls = _.map(this.state.urlTextboxes, 'value');
TorrentActions.addTorrents(torrentUrls, this.state.destination);
}