mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -66,8 +66,9 @@ const TorrentCache = memo(
|
|||||||
return (
|
return (
|
||||||
<Measure bounds onResize={({ bounds }) => setDimensions(bounds)}>
|
<Measure bounds onResize={({ bounds }) => setDimensions(bounds)}>
|
||||||
{({ measureRef }) => (
|
{({ measureRef }) => (
|
||||||
<div style={{ display: 'flex', flexDirection: 'column' }} ref={measureRef}>
|
<div style={{ display: 'flex', flexDirection: 'column' }}>
|
||||||
<DialogContent
|
<DialogContent
|
||||||
|
ref={measureRef}
|
||||||
{...(isMini
|
{...(isMini
|
||||||
? { style: { padding: 0, maxHeight: `${miniCacheMaxHeight}px`, overflow: 'auto' } }
|
? { style: { padding: 0, maxHeight: `${miniCacheMaxHeight}px`, overflow: 'auto' } }
|
||||||
: { style: { padding: 0 } })}
|
: { style: { padding: 0 } })}
|
||||||
|
|||||||
@@ -237,10 +237,12 @@ export default function SettingsDialog() {
|
|||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
<FormControlLabel
|
<FormControlLabel
|
||||||
control={<Switch checked={RemoveCacheOnDrop} onChange={inputForm} id='RemoveCacheOnDrop' color='primary' />}
|
control={
|
||||||
|
<Switch checked={RemoveCacheOnDrop} onChange={inputForm} id='RemoveCacheOnDrop' color='primary' />
|
||||||
|
}
|
||||||
label='Remove cache from disk on drop torrent'
|
label='Remove cache from disk on drop torrent'
|
||||||
/>
|
/>
|
||||||
<br/>
|
<br />
|
||||||
<small>If disabled, remove cache on delete torrent</small>
|
<small>If disabled, remove cache on delete torrent</small>
|
||||||
<br />
|
<br />
|
||||||
<TextField
|
<TextField
|
||||||
|
|||||||
Reference in New Issue
Block a user