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

@@ -93510,8 +93510,6 @@ var addTorrentFilePopup = function (_React$Component) {
_this.setState({ open: false });
}, _this.handleSubmit = function () {
_this.setState({ open: false });
//let magnetLinkSubmit = this.state.textValue;
console.log("File", _this.state.torrentFileValue);
var reader = new FileReader();
var torrentFileBlob = new Blob(_this.state.torrentFileValue);
console.log("Blob", torrentFileBlob);
@@ -93528,6 +93526,7 @@ var addTorrentFilePopup = function (_React$Component) {
};
console.log("Sending magnet link: ", torrentFileMessage);
ws.send(JSON.stringify(torrentFileMessage));
_this.setState({ torrentFileName: "", storageValue: "", torrentFileValue: [], showDrop: true });
};
}, _this.onFileLoad = function (file) {
_this.setState({ torrentFileName: file[0].name });