mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 06:05:15 +00:00
Introduce client settings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user