mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 06:05:15 +00:00
Save settings more reasonably
This commit is contained in:
@@ -2,6 +2,7 @@ import React from 'react';
|
||||
|
||||
import AddTorrentsActions from './AddTorrentsActions';
|
||||
import AddTorrentsDestination from './AddTorrentsDestination';
|
||||
import SettingsStore from '../../stores/SettingsStore';
|
||||
import TextboxRepeater from '../forms/TextboxRepeater';
|
||||
import TorrentActions from '../../actions/TorrentActions';
|
||||
|
||||
@@ -39,6 +40,7 @@ export default class AddTorrents extends React.Component {
|
||||
destination: this.state.destination,
|
||||
start: this.state.startTorrents
|
||||
});
|
||||
SettingsStore.saveSettings({id: 'torrentDestination', data: this.state.destination});
|
||||
}
|
||||
|
||||
handleDestinationChange(destination) {
|
||||
|
||||
Reference in New Issue
Block a user