Fixed Channel saving

Fixed bug where channel would not save if a logo was not present.
This commit is contained in:
Dispatcharr 2025-04-04 08:26:33 -05:00
parent ec629a6e41
commit 22ef9c4e9f

View file

@ -95,7 +95,7 @@ const Channel = ({ channel = null, isOpen, onClose }) => {
values.stream_profile_id = null;
}
if (!values.logo_id) {
if (!values.logo_id || values.logo_id === 'undefined') {
delete values.logo_id;
}