Fixes channels not actually filtering based on selected group.

This commit is contained in:
SergeantPanda 2025-06-27 10:06:54 -05:00
parent 6d13aa5314
commit 66b95f2ef8

View file

@ -110,7 +110,7 @@ export default function TVChannelGuide({ startDate, endDate }) {
// Apply channel group filter
if (selectedGroupId !== 'all') {
result = result.filter(
(channel) => channel.channel_group?.id === parseInt(selectedGroupId)
(channel) => channel.channel_group_id === parseInt(selectedGroupId)
);
}