mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 06:05:15 +00:00
Improve notifications
This commit is contained in:
@@ -8,7 +8,6 @@ import Close from '../icons/Close';
|
||||
import File from '../icons/File';
|
||||
import Files from '../icons/Files';
|
||||
import ModalActions from './ModalActions';
|
||||
import SettingsStore from '../../stores/SettingsStore';
|
||||
import TorrentActions from '../../actions/TorrentActions';
|
||||
|
||||
const METHODS_TO_BIND = [
|
||||
@@ -75,7 +74,7 @@ export default class AddTorrentsByFile extends React.Component {
|
||||
<File />
|
||||
</span>
|
||||
<span className="dropzone__file__item dropzone__file__item--file-name">
|
||||
{file.name}{file.name}
|
||||
{file.name}
|
||||
</span>
|
||||
<span className="dropzone__file__item dropzone__file__item--icon dropzone__file__item--remove-icon" onClick={this.handleFileRemove.bind(this, index)}>
|
||||
<Close />
|
||||
@@ -106,8 +105,6 @@ export default class AddTorrentsByFile extends React.Component {
|
||||
return;
|
||||
}
|
||||
|
||||
SettingsStore.saveSettings({id: 'torrentDestination', data: this.state.destination});
|
||||
|
||||
this.setState({isAddingTorrents: true});
|
||||
|
||||
let fileData = new FormData();
|
||||
|
||||
Reference in New Issue
Block a user