fixed styling issues
This commit is contained in:
@@ -50,5 +50,4 @@ class FolderWatcher {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = FolderWatcher
|
||||
|
||||
@@ -124,7 +124,7 @@ class PreferencesPage extends React.Component {
|
||||
handleAutoAddTorrentsChange (e, isChecked) {
|
||||
const torrentsFolderPath = this.props.state.unsaved.prefs.torrentsFolderPath
|
||||
if (isChecked && !torrentsFolderPath) {
|
||||
alert('Select a torrents folder first.')
|
||||
alert('Select a torrents folder first.') // eslint-disable-line
|
||||
e.preventDefault()
|
||||
return
|
||||
}
|
||||
@@ -136,7 +136,7 @@ class PreferencesPage extends React.Component {
|
||||
const torrentsFolderPath = this.props.state.unsaved.prefs.torrentsFolderPath
|
||||
|
||||
const value = torrentsFolderPath || 'Path to be watched.'
|
||||
const description = 'Torrent files saved to this folder will be automatically added to the list.'
|
||||
const description = 'Torrent files saved to this folder will be automatically added.'
|
||||
|
||||
return (
|
||||
<Preference>
|
||||
|
||||
Reference in New Issue
Block a user