Fixed channels not showing if they were mapped to the same epg id.

This commit is contained in:
SergeantPanda 2025-05-02 12:16:38 -05:00
parent 307728b7bc
commit 5a844e4aaa

View file

@ -851,10 +851,10 @@ export default function TVChannelGuide({ startDate, endDate }) {
{(searchQuery !== '' ||
selectedGroupId !== 'all' ||
selectedProfileId !== 'all') && (
<Button variant="subtle" onClick={clearFilters} size="sm" compact>
Clear Filters
</Button>
)}
<Button variant="subtle" onClick={clearFilters} size="sm" compact>
Clear Filters
</Button>
)}
<Text size="sm" color="dimmed">
{filteredChannels.length}{' '}
@ -1209,9 +1209,13 @@ export default function TVChannelGuide({ startDate, endDate }) {
paddingLeft: 0, // Remove any padding that might push content
}}
>
{channelPrograms.map((prog) =>
renderProgram(prog, start)
)}
{channelPrograms.map((program) => {
return (
<div key={`${channel.id}-${program.id}-${program.start_time}`}>
{renderProgram(program, start)}
</div>
);
})}
</Box>
</Box>
);