mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-22 09:37:57 +00:00
Fix bug where a channel created could use streams from another channel. The form wasn't being fully cleared.
This commit is contained in:
parent
0d659f4435
commit
81520293f4
1 changed files with 1 additions and 0 deletions
|
|
@ -242,6 +242,7 @@ const ChannelForm = ({ channel = null, isOpen, onClose }) => {
|
|||
formik.resetForm();
|
||||
setTvgFilter('');
|
||||
setLogoFilter('');
|
||||
setChannelStreams([]); // Ensure streams are cleared when adding a new channel
|
||||
}
|
||||
}, [channel, tvgsById, channelGroups]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue