From cc4b0d557f3977aba1bcbb88214fa1e0eb93adeb Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Tue, 15 Apr 2025 19:46:23 -0500 Subject: [PATCH] Fixes not being able to set dummy epg. --- frontend/src/components/forms/Channel.jsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/frontend/src/components/forms/Channel.jsx b/frontend/src/components/forms/Channel.jsx index 1962793f..36efafb7 100644 --- a/frontend/src/components/forms/Channel.jsx +++ b/frontend/src/components/forms/Channel.jsx @@ -115,20 +115,11 @@ const Channel = ({ channel = null, isOpen, onClose }) => { // Use the special endpoint to set EPG and trigger refresh const epgResponse = await API.setChannelEPG(channel.id, values.epg_data_id); - // Show notification about EPG status if available - if (epgResponse && epgResponse.task_status) { - notifications.show({ - title: 'EPG Status', - message: epgResponse.task_status, - color: 'blue' - }); - } - // Remove epg_data_id from values since we've handled it separately const { epg_data_id, ...otherValues } = formattedValues; // Update other channel fields if needed - if (Object.keys(otherValues).length > 0 && !channel.hasEqualValues(otherValues)) { + if (Object.keys(otherValues).length > 0) { response = await API.updateChannel({ id: channel.id, ...otherValues,