Introduce client settings

This commit is contained in:
John Furrow
2016-06-06 21:01:10 -07:00
parent 30d75c124b
commit 02c3b5e4b0
27 changed files with 907 additions and 206 deletions

View File

@@ -20,7 +20,8 @@ export default class AddTorrentsDestination extends React.Component {
}
componentWillMount() {
let destination = SettingsStore.getSettings('torrentDestination') || '';
let destination = SettingsStore.getFloodSettings('torrentDestination')
|| '';
if (this.props.suggested) {
destination = this.props.suggested;
}