attempting to fix the symlink issue being the wrong direction, fixing the log folder not existing error

This commit is contained in:
2018-01-19 21:49:19 -05:00
parent c4b86bcf1d
commit aa9082f598
5 changed files with 34 additions and 13 deletions

View File

@@ -57,9 +57,7 @@ export default class addTorrentFilePopup extends React.Component {
};
handleSubmit = () => {
this.setState({ open: false });
//let magnetLinkSubmit = this.state.textValue;
console.log("File", this.state.torrentFileValue)
this.setState({open: false})
const reader = new FileReader()
let torrentFileBlob = new Blob(this.state.torrentFileValue)
console.log("Blob", torrentFileBlob)
@@ -76,6 +74,7 @@ export default class addTorrentFilePopup extends React.Component {
}
console.log("Sending magnet link: ", torrentFileMessage);
ws.send(JSON.stringify(torrentFileMessage));
this.setState({torrentFileName: "", storageValue: "", torrentFileValue: [], showDrop: true})
}
}