From 8a8df11b725fb8ee6346e2b41a12648d2c34583a Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Wed, 18 Feb 2026 15:16:33 -0600 Subject: [PATCH] Fix issue with channelById type error (object vs map) this was breaking scheduling manual DVR recordings. --- frontend/src/pages/Guide.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/Guide.jsx b/frontend/src/pages/Guide.jsx index 2c730edd..c59185f4 100644 --- a/frontend/src/pages/Guide.jsx +++ b/frontend/src/pages/Guide.jsx @@ -283,10 +283,10 @@ export default function TVChannelGuide({ startDate, endDate }) { // Local map of channel id -> channel object for quick lookup const channelById = useMemo(() => { - const map = {}; + const map = new Map(); for (const ch of guideChannels) { if (ch && ch.id !== undefined && ch.id !== null) { - map[ch.id] = ch; + map.set(ch.id, ch); } } return map;