diff --git a/web/src/components/Add/AddDialog.jsx b/web/src/components/Add/AddDialog.jsx index f077d91..c717a08 100644 --- a/web/src/components/Add/AddDialog.jsx +++ b/web/src/components/Add/AddDialog.jsx @@ -105,6 +105,12 @@ export default function AddDialog({ handleClose }) { useEffect(() => { setIsTorrentSourceCorrect(chechTorrentSource(torrentSource)) + + if (!torrentSource) { + setPosterUrl('') + setPosterList() + setIsPosterUrlCorrect(false) + } }, [torrentSource]) const handleCapture = files => {