Skip to content

Commit

Permalink
fix: upload issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Mar 22, 2018
1 parent de98150 commit 6ec7fb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/controls/utils/upload-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export default function uploadFiles (opts) {
dec()
send('files-updated')
}).catch((e) => {
dec()
debug(e.stack)
})
}
Expand Down
2 changes: 1 addition & 1 deletion src/panes/Files.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const fileTarget = {
filesArray.push(files[i].path)
}

ipcRenderer.send('drop-files', filesArray, component.state.root)
ipcRenderer.send('drop-files', filesArray, component.props.root)
}
}

Expand Down

0 comments on commit 6ec7fb5

Please sign in to comment.