mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
poster url cleared after removing file
This commit is contained in:
@@ -105,6 +105,12 @@ export default function AddDialog({ handleClose }) {
|
||||
|
||||
useEffect(() => {
|
||||
setIsTorrentSourceCorrect(chechTorrentSource(torrentSource))
|
||||
|
||||
if (!torrentSource) {
|
||||
setPosterUrl('')
|
||||
setPosterList()
|
||||
setIsPosterUrlCorrect(false)
|
||||
}
|
||||
}, [torrentSource])
|
||||
|
||||
const handleCapture = files => {
|
||||
|
||||
Reference in New Issue
Block a user