mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
add remove cache on drop sets
This commit is contained in:
@@ -79,6 +79,7 @@ export default function SettingsDialog() {
|
||||
PeersListenPort,
|
||||
UseDisk,
|
||||
TorrentsSavePath,
|
||||
RemoveCacheOnDrop,
|
||||
} = settings
|
||||
|
||||
return (
|
||||
@@ -235,6 +236,13 @@ export default function SettingsDialog() {
|
||||
label='Use disk'
|
||||
/>
|
||||
<br />
|
||||
<FormControlLabel
|
||||
control={<Switch checked={RemoveCacheOnDrop} onChange={inputForm} id='RemoveCacheOnDrop' color='primary' />}
|
||||
label='Remove cache from disk on drop torrent'
|
||||
/>
|
||||
<br/>
|
||||
<small>If disabled, remove cache on delete torrent</small>
|
||||
<br />
|
||||
<TextField
|
||||
onChange={inputForm}
|
||||
margin='dense'
|
||||
|
||||
Reference in New Issue
Block a user